lua-users home
lua-l archive

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


>     > =big
>     2500000000
>     > =string.format('%d', big)
>     -2147483648

This works fine in 5.2:

Lua 5.2.0  Copyright (C) 1994-2011 Lua.org, PUC-Rio
> big=2500000000
> =string.format('%d', big)
2500000000