From: "NARUSE, Yui" Date: 2011-09-13T10:12:21+09:00 Subject: [ruby-core:39497] Re: [Ruby 1.9 - Bug #5309] 0.6.to_r != "0.6".to_r 2011/9/13 Marc-Andre Lafortune : > Use `Float#rationalize` instead of `to_r`, and you will get the same result as `String#to_r`. > I've argued before that `Float#to_r` should be `Float#rationalize`, though. It is http://redmine.ruby-lang.org/issues/1408 -- NARUSE, Yui �