From: Gregory Brown Date: 2007-06-22T04:33:02+09:00 Subject: Re: Ruby doesn't know how to multiply On 6/21/07, rjprado@gmail.com wrote: > Hello, > > Dear friends, today I have stumbled into a really weird problem. Try > typing this on irb: > > 14.95 * 0.6 == 8.97 > > Ruby says it's false! > > I don't know if this is a bug. Please let me know. By the way i�m on > ruby 1.8.5. I'll give it a try on 1.8.6 and let you know. It's not a bug. It's the way floating point arithmetic works, and is true for *most* programming languages. http://docs.sun.com/source/806-3568/ncg_goldberg.html