Avoid dividing by zero when we have floats.