Re: Why don't we accept exponential format for integers? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Why don't we accept exponential format for integers?
Date
Msg-id AANLkTiktyqCbS7pqDwc5CAXCZmEzzZdLqLvSt5QU9cR7@mail.gmail.com
Whole thread Raw
In response to Re: Why don't we accept exponential format for integers?  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Why don't we accept exponential format for integers?  (Christophe Pettus <xof@thebuild.com>)
List pgsql-hackers
On Fri, Dec 17, 2010 at 3:31 PM, Joshua D. Drake <jd@commandprompt.com> wrote:
>
>> Just another example of the fact that PHP was designed by incompetent
>> amateurs :-(
>>
>> http://www.junauza.com/2010/12/top-50-programming-quotes-of-all-time.html
>
> Unless I am misunderstanding the argument... perl and python both
> support what is suggested here.
>
> jd@jd-desktop:~$ perl -e 'print int('1e+01')';
> 10

You're misunderstanding the argument.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Nathan Boley
Date:
Subject: Re: Why don't we accept exponential format for integers?
Next
From: Christophe Pettus
Date:
Subject: Re: Why don't we accept exponential format for integers?