Thomas Sawyer wrote in post #1041913:
> So simple...
>
>   1.1 - 1.to_f == 0.1
>   >> false
>
> (*rumble*) (*rumble*) Pathetic!

Real programmers do not compare floats for equality.

-- 
Posted via http://www.ruby-forum.com/.