Why so?
>>> max(2, 2.01) 2.0099999999999998
Floating point roundoff. Its trying to say 2.01 but can't express it exactly as a floating point number so its doing the best it can.