--000e0ce0b382bb288704b70cd951 Content-Type: text/plain; charset=ISO-8859-1 On Jan 21, 2012 9:34 AM, "Gary Wright" <gwtmp01 / mac.com> wrote: > > > On Jan 21, 2012, at 9:06 AM, Intransition wrote: > > > So simple... > > > > 1.1 - 1.to_f 0.1 > > >> false > > > > (*rumble*) (*rumble*) Pathetic! > > > Decimal literals (e.g. 1.1) can't always be represented exactly as binary floats: > > >> "%.40f" % 1.1 >