Reproduction Steps:
ExpantaNum.ZERO.toStringWithDecimalPlaces(3,true)
raises the following error:
Uncaught RangeError: toFixed() digits argument must be between 0 and 100
at Number.toFixed (<anonymous>)
at decimalPlaces (eval at <anonymous> (test.js:102:12), <anonymous>:1213:31)
at P.toStringWithDecimalPlaces (eval at <anonymous> (test.js:102:12), <anonymous>:1250:28)
at <anonymous>:1:17
This works in the console on https://naruyoko.github.io/ExpantaNum.js/test.html, and also still errors when replacing 3 with any other integer.
Reproduction Steps:
ExpantaNum.ZERO.toStringWithDecimalPlaces(3,true)raises the following error:
This works in the console on https://naruyoko.github.io/ExpantaNum.js/test.html, and also still errors when replacing
3with any other integer.