From: Mel Bohince Date: 2005-04-16T00:19:41+09:00 Subject: Re: when 1.6 != 1.6? -- newbie > Try using assert_in_delta(number1, number2, delta), to > find out, if |number1 - number2| <= delta instead. Thanks to all for the help! I'll remember the assert_in_delta in the future when testing on floats. The point about avoiding float when doing currency is sound advice, yet opens a new chapter of issues when deal with big numbers in special pricing units of measure. Then Googled "Class Money" got a spiffy "ruby" Money at and a nice interface from junit.samples.money; ah, other have blazed and paved the trail. Thanks. -: -: -: -: -: -: -: -: \|/ -: -: -: -: -: -: -: -: cU mel