|
> why does this code not print "yo"? > > ---snip--- > local x = 1.1 > x = x + 0.1 > if x == 1.2 then > print("yo") > end > ---snap--- > > x is set to 1.2 but the if clause isn't entered. Can anybody explain why? See this recent thread: http://lua-users.org/lists/lua-l/2010-11/msg00571.html