or you could learn about how to do comparisons with floating point numbers
like multiplying them by the precision that you'd like to compare and comparing them as integers? /s