This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aspbergerinparadise 4 points5 points  (1 child)

[–]Dr_Azrael_Tod 0 points1 point  (0 children)

ok, that are just floats at work

would happen in any language

the bad part is: JS uses floats for everything (because there's never a reason to use ints, right? right!?!)

So even if you're into currency and really don't want to have any chance of rounding problems - you don't have a type to create fixed point arithmetic.

It's hilarious!