lua-users home
lua-l archive

Re: lujit - Malformed number

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


Leo Razoumov wrote:
> On 2010年09月04日, Mike Pall <mikelu-1009@mike.de> wrote:
> > Anyway, since the only popular decimal point besides '.' is ',',
> > I could add a heuristic workaround for that.
> 
> will your heuristic handle the case when ',' is used to separate
> groups of three digits for better readability and '.' as a decimal
> separator like in the following exmple?
> 
> 123,456,789.554433
Nope, since strtod() doesn't handle that (in most locales).
--Mike

AltStyle によって変換されたページ (->オリジナル) /