News for hackers. Stuff that matters.
Re:Dinero.js – JavaScript library for working with monetary ... by pokoleo on Monday April 16, 2018 @05:17PM (#16852870)
If you can find an atomic amount, (e.g. PicoDollars) I'd suggest using that. Javascript doesn't have an infinite precision integer type.

In cases where that isn't possible, try an infinite precision javascript library. https://github.com/MikeMcl/big.js

You could _probably_ find a way to shim big.js into OP's library :)

There are no comments on this comment yet.