MCPcopy
hub / github.com/MikeMcl/big.js / t

Function t

test/methods/round.js:6–8  ·  view source on GitHub ↗
(expected, value, decimalPlaces, roundingMode)

Source from the content-addressed store, hash-verified

4 var u;
5
6 function t(expected, value, decimalPlaces, roundingMode) {
7 test.areEqual(String(expected), new Big(String(value)).round(decimalPlaces, roundingMode).toString());
8 }
9
10 Big.DP = 20;
11 Big.RM = 1;

Callers 1

round.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected