Re:How to Handle Monetary Values in JavaScript
by dragonwriter on Tuesday October 30, 2018 @04:43PM
(#18341121)
> Ruby, Perl5, Python also fail this.
Ruby and Python have arbitrary precision decimal and rational support in the standard library. While there are arguments tobe had over whether using binary floats by default for simple decimal literals is a good choice, that's a different issue than not having any other kind of numbers available by default.
Ruby and Python have arbitrary precision decimal and rational support in the standard library. While there are arguments tobe had over whether using binary floats by default for simple decimal literals is a good choice, that's a different issue than not having any other kind of numbers available by default.