Skip to content

2.9.0

Compare
Choose a tag to compare
@bpierre bpierre released this 25 Sep 18:18
· 18 commits to main since this release
c78fc61

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! 🙏