2.9.0
This version adds toString()
, which works like toNumber()
:
let value = [123456789000000000000000n, 18];
toString(value); // "123456.789"
toString(value, 1); // "123456.8"
Thanks to @DannyDelott for suggesting this! 🙏
This version adds toString()
, which works like toNumber()
:
let value = [123456789000000000000000n, 18];
toString(value); // "123456.789"
toString(value, 1); // "123456.8"
Thanks to @DannyDelott for suggesting this! 🙏