I just encountered this and can\'t figure out why exactly Ruby behaves this way.
Could someone explain why in Ruby:
6.84 - 3.6 == 3.2399999999999998
It's a binary floating-point problem.
read this