I'm having a problem comparing floats, given the values below, I'm getting the wrong results when running this piece of code
let distAppart = 4.76837158203e-007
let factor = 0.01
if distAppart < factor and distAppart > -factor:
print 'this should not print with the given values.... But it does anyway!!!!!!!!!!!'
else:
print 'this is what should really be shown'