I got a code kind of like:
--some code
if 0.18 + 0.02 == 0.2 then
--some more code
end
--even more code
But I always get false in the if stamens, any idea to fix this?
I got a code kind of like:
--some code
if 0.18 + 0.02 == 0.2 then
--some more code
end
--even more code
But I always get false in the if stamens, any idea to fix this?
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
http://wiki.roblox.com/index.php?title=User:EgoMoose/Articles/Floating_point_numbers