[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to extract a floating point number locale-independantly
- From: Daurnimator <quae@...>
- Date: Fri, 29 Apr 2016 14:35:27 +1000
On 29 April 2016 at 01:56, Roberto Ierusalimschy <firstname.lastname@example.org> wrote:
> Maybe a nice compromisse would be to accept both the locale point and
> dots everywhere, except in the lexer.
> (Just for the record, "everywhere" means coercions from strings
> to numbers, 'tonumber', 'io.read("n")', and 'lua_stringtonumber'.)
> -- Roberto
Sounds fair for 5.3.3.
For 5.4 I think you should move to using strtod_l and friends.