MCPcopy Create free account
hub / github.com/AudiusProject/apps / toPrecision

Method toPrecision

packages/fixed-decimal/src/FixedDecimal.ts:386–398  ·  view source on GitHub ↗

* Number.toPrecision() but for FixedDecimal. * @param significantDigits The number of significant digits to keep. * @returns The number truncated to the significant digits specified as a string.

(significantDigits: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 2

_truncMethod · 0.95
toStringMethod · 0.80

Tested by

no test coverage detected