allow slight differences when comparing float values