lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > 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.