lua-users home
lua-l archive

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


Hi list,
Stupid question maybe, but is there a way (without having to write a C
module) to serialize Lua numbers without loss of precision? Eg. I
tried printing a 5/6 with tostring, string.format with all formats
immaginable etc. but couldn't get back a clean 5/6.
Thanks,
Cosmin.