fixed edge case for round floats