Floating point calculation is neither associative nor distributive on processors. So,
(a + b) + c is not equal to a + (b + c)
(a + b) + c
a + (b + c)
and <
Use a decimal type or library supporting such a type.