From: Gavin Kistner Date: 2004-04-22T02:48:18+09:00 Subject: 5.000...007.to_s => "5" irb(main):001:0> 5.00000000000007.to_s => "5.00000000000007" irb(main):002:0> 5.000000000000007.to_s => "5.00000000000001" irb(main):003:0> 5.0000000000000007.to_s => "5" irb(main):004:0> 5.00000000000000007.to_s => "5.0" Note the weirdness in the third item, as reported by 'quix' on the #ruby-lang IRC channel. (The issue is not the lack of float precision...that's gotta give out at some point. The issue is the "5" vs. "5.0" discrepancy.) -- (-, /\ \/ / /\/