From: Sebastian Hungerecker Date: 2008-05-22T16:41:55+09:00 Subject: Re: Why doesn't Float() work the same as Integer()? Mark Hubbart wrote: > If a string is provided, then it must follow the same rules as the > appropriate literal representation.... This is the source of the > > differences. So: > >> Integer("023")   #=> 19 > >> Float("023")     #=> 23.0 But shouldn't Float("023") return an error in this case? After all "023" is not a literal representation of a float (neither is "23"). -- Jabber: sepp2k@jabber.org ICQ: 205544826