From: ZipiZap zap Date: 2011-07-18T23:35:38+09:00 Subject: Re: Is this a float-bug or naive comprehension? --000e0cd564d684f19c04a858e9a3 Content-Type: text/plain; charset=ISO-8859-1 On 18 July 2011 16:19, Samuel Kadolph wrote: > This is how floating point math works. If you want exact values use > decimals. > http://en.wikipedia.org/wiki/Floating_point > > Thanks Samuel for the tip about decimals I've then found an old discussion in the ruby forums about float and decimals - see http://www.ruby-forum.com/topic/208222 --000e0cd564d684f19c04a858e9a3--