[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lujit - Malformed number
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 8 Sep 2010 10:00:22 -0300
> > 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:-)
It is. That is why numbers in Lua source use decimal points, regardless of
locale.