Since floating-point numbers (reals) were invented, it has been known that you cannot reliably do an equality comparison with a floating point number, due to the inexact representation internally.
Floating-point comparisons should never be a
= OR ≠.
< ≤ > ≥
Use integers for equality comparisons.
OR, use some tolerance, like:
set x to 1.1
set y to 4.3 - 3.2
if ((abs (x - y)) ≤ 1.0E-5) then set isEq to true