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

Method trunc

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

* Math.trunc() but for FixedDecimal. * @param decimalPlaces The number of decimal places to truncate to. * @returns A new FixedDecimal with the result for chaining.

(decimalPlaces?: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

toLocaleStringMethod · 0.95
logMessageMethod · 0.80
endTimeMethod · 0.80
formatUtil.test.tsFile · 0.80
CashWalletFunction · 0.80
prettyNumberFunction · 0.80

Calls 1

_truncMethod · 0.95

Tested by

no test coverage detected