Skip to main content

in reply to Roni Laukkarinen

TBF those up there in the beginning aren't even JS' fault, that's IEEE-754 binary floating point in action
in reply to Roni Laukkarinen

to be fair 0.1+0.2==0.3 to be false is not a JavaScript problem, it's a general problem with floats and if 9999999999999999 represents a float in JavaScript it's also a general problem with floats.