From: Daniel Berger Date: 2007-09-04T08:07:28+09:00 Subject: Re: 0.06 == 0.06 returns false in Ruby? On Aug 31, 12:25 am, Michael Ulm wrote: > Unfortunately, there is no easy solution to this problem. Here's my naive, DWIM approach: class Float def ==(other) self.to_s == other.to_s end end Regards, Dan