12-21-2015, 07:11 AM
something like this:
Code:
if math.abs( var1 - var2 ) < 1e-3 then
-- equal
else
-- not equal
end