3 ms·
For those doing currencies in JavaScript, is it worth it calling out to a language like this that has better support for precision? How do you handle it in you
by khalidx 3y ago
For those doing currencies in JavaScript, is it worth it calling out to a language like this that has better support for precision?
How do you handle it in your code today?
- sa46 3y agoI use a hand-rolled Money class that’s an ergonomic wrapper around big.js, an arbitrary precision decimal library. I think using a separate language is massive overkill.