[IMP] Fixed the rounding precision issue using tools.float_compare() method