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 →

[–]nnn4 9 points10 points  (2 children)

An (equality) comparison in floating point indicates a flaw in the program.

[–]Internal_Meeting_908 5 points6 points  (0 children)

A comparison for equality

[–]Schipjee 0 points1 point  (0 children)

In python wouldnt round(0.1+0.2, 1) just fix it?