lua-users home
lua-l archive

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


>What "format string" should I use so the '2*' line outputs the same
>value as the '1*' line?

If you're sure the number is an integer, try %.0f, but you're still limited
to integers that fit into a double (that's 53 bits, better than the usual 32).
--lhf