lua-users home
lua-l archive

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

>   I was curious about this, and yes, I can see why---you call one of the
> Standard C functions (strtof(), strtod(), strtold()) to do the actual
> conversion.  To support grouping separators [1], the code would have to
> first walk through the entire number, stripping out the grouping separators,
> then call the Standard C function.

Exactly. It is hard to implement your own 'strtod', due to precision

-- Roberto