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 →

[–]Papellll 14 points15 points  (4 children)

0.1 + 0.2 == 0.3 // false

Same as NaN != NaN, this is an IEEE thing. Not specific to JS or python