From: Roger Pack Date: 2010-05-12T00:37:58+09:00 Subject: Re: ruby 1.9+ , floats, and decimal >>> => "0.999999999999999999999999999999999999E0" >> >> That one seemed to work ok. �Was your point that it is limited to 36 >> decimals by default? > > So you don't expect (1/3) * 3 to equal 1? Oh ok. I was a bit dense there. Rational could do better in this instance. Are there situations where rational would *not* be a good default, except for speed reasons? (just asking theoretically--not proposing it at all) Thanks! -rp -- Posted via http://www.ruby-forum.com/.