Hacker News new | ask | show | jobs
by le-mark 1779 days ago
I’m sorry but this discussion is startling. Currency calculations and accuracy are critical, why would anyone use this if there’s even a chance it gives incorrect results? Once you research the topic you’ll see why JavaScript based languages haven’t been used generally. There are solutions for currency math in js like dinero.js:

https://frontstuff.io/how-to-handle-monetary-values-in-javas...