Fix nearly equal numbers by rounding.