On Oct 18, 8:49 am, Michal Sza <nic... / nicpon.net> wrote:
> Hey,
> How come 2 - 2.01 = -0.00999999999999979 and not -0.01
> ???
> Can someone explain this to me please?
> --
> Posted viahttp://www.ruby-forum.com/.

This question comes up a lot. Google "floating point errors" for some
good links.