Re:Be careful with JS numbers
by icebraining on Sunday January 13, 2013 @06:48PM
(#5052416)
Python has Decimal for that. Unfortunately, the people who wrote the platform I use - which deals with money - decided they're "too slow".
[ Parent
| on HN ]
> Unfortunately, the people who wrote the platform I use - which deals with money - decided they're "too slow".
I've had the same problem (that platform wouldn't ha. It's… annoying (also bullshit: in the worst case — CPython <= 3.2 — basic arithmetic operations will take ~20µs on my machine aside from divisions which take a bit more and if that shows up in profiling use cdecimal, CPython 3.3 [integrated cdecimal] or pypy)