From: Martin Jansson Date: 2007-09-07T04:27:07+09:00 Subject: Re: 0.06 == 0.06 returns false in Ruby? This is why I prefer to use fixed decimal. In your own private code, it's easy enough to implement. You just decide how many "decimals" your int's should have. Getting correct programs using floats are really hard. Heck, MS Excell don't even get Sum and Mean right. (Microsoft, usually, use na誰ve algorithm's that don't take care of underflow and rounding errors). -- Posted via http://www.ruby-forum.com/.