Bug #2608: 1999.0 becomes 1998
http://redmine.ruby-lang.org/issues/show/2608

Author: Edmond Chui
Status: Open, Priority: High
ruby -v: 1.8.7

The following script generate wrong result

a = 19.99 * 100
puts a.to_i  # Prints out 1998. Should be 1999.


----------------------------------------
http://redmine.ruby-lang.org