I want a to be rounded to 13.95.
a
>>> a 13.949999999999999 >>> round(a, 2) 13.949999999999999
The ro
In Python 2.7:
a = 13.949999999999999 output = float("%0.2f"%a) print output