|
|
||
|
> What's wrong with this code? > > local i = 1 > i = i + 0.2 > i = i + 0.2 > i = i + 0.2 > i = i + 0.2 > i = i + 0.2 > print(i) > print(tostring( i ~= 2)) http://lua-users.org/wiki/FloatingPoint http://docs.python.org/tut/node16.html