lua-users home
lua-l archive

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


2013/9/8 Coda Highland <chighland@gmail.com>:

> while tostring(tonumber(x)) can't be a guaranteed round-trip,
> tonumber(tostring(x)) CAN be, by making tostring() output enough
> digits.

For a certain meaning of "enough", yes. Is "enough" 17 digits,
though? Interesting but decidedly non-trivial question!