From: Elias Athanasopoulos Date: 2004-04-22T04:05:56+09:00 Subject: Re: 5.000...007.to_s => "5" On Thu, Apr 22, 2004 at 03:59:54AM +0900, nobu.nokada@softhome.net wrote: > Hi, > > At Thu, 22 Apr 2004 02:48:18 +0900, > Gavin Kistner wrote in [ruby-talk:97891]: > > (The issue is not the lack of float precision...that's gotta give out > > at some point. The issue is the "5" vs. "5.0" discrepancy.) > > Seems the issue about the boundary between "e" and "f". Still, default fmt in flo_to_s() is iniatialized to 'g' (which cuts trailing decimal points). Regards, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky