[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lujit - Malformed number
- From: Leo Razoumov <slonik.az@...>
- Date: Wed, 8 Sep 2010 08:50:51 -0400
On Tue, Sep 7, 2010 at 05:43, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Tue, Sep 7, 2010 at 11:35 AM, Mike Pall <mikelu-1009@mike.de> wrote:
>>> 123,456,789.554433
>>
>> Nope, since strtod() doesn't handle that (in most locales).
>
> It would also be ambiguous - e.g return 123,233.2 - Lua syntax
> interprets this as returning two values.
>
By this logic even 123,456 is ambiguous in a locale that uses "," as a
decimal separator.
Looks like a can of worms:-)
--Leo--