Re:Dinero.js – JavaScript library for working with monetary ...
by nathancahill on Monday April 16, 2018 @08:15PM
(#16854242)
The nature of odds would require that. Otherwise how would you calculate 1:3 odds?
[ Parent
| on HN ]
Re:Dinero.js – JavaScript library for working with monetary ...
by bigiain on Monday April 16, 2018 @08:54PM
(#16854456)
Same argument applies to interest rates and many other financial calculations too... The thing I didn't know before that project was that there was a "standard" about how much precision you're required to calculate at. Not that ten thousandths of a cent is necessarily "the right answer", but when the regulators tell you that's the answer it takes a lot of discussion/argument away... (Surely even tenths of a cent would suffice???)