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

Function t

test/methods/toString.js:6–9  ·  view source on GitHub ↗
(expected, value, base)

Source from the content-addressed store, hash-verified

4 //var alphabet = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_';
5
6 function t(expected, value, base) {
7 //if (base) BigNumber.config({ ALPHABET: alphabet.slice(0, base) });
8 Test.areEqual(expected, new BigNumber(value).toString(base))
9 }
10
11 BigNumber.config({
12 DECIMAL_PLACES: 20,

Callers 1

toString.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected