[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: problem with string.format %d and very large integers
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 27 Jul 2011 18:10:06 -0300
> > =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