It would be very nice to be able to use true integers instead of floating points, since the latter is a pain. For example, the following code will never end because n1 will never equal zero (even though it should):
local n1 = 1
while n1 ~= 0 do
print(n1)
n1 = n1 - 0.01
end
This is just an example, not a practical situation, but it does point out the constant worry about what kind of weird behavior I will get from seemingly simple number manipulation. Is there a way to compile corona to use integers? [import]uid: 72609 topic_id: 17827 reply_id: 317827[/import]