From: James Edward Gray II Date: 2006-11-15T05:24:31+09:00 Subject: Re: Is 2.0 Integer or Float? On Nov 14, 2006, at 2:21 PM, Wilson Bilkovich wrote: > IEEE floating point can store an exact representation of any integer > that the fp number is large enough to contain. > I've never used it this way, but supposedly that is used to handle > 53-bit ints on platforms that have 64-bit floats and only 32-bit ints. > > That may or may not be what the OP is trying to do. I'm pretty sure Lua uses floats for everything, for exactly this reason. James Edward Gray II