I want a to be rounded to 13.95.
a
>>> a 13.949999999999999 >>> round(a, 2) 13.949999999999999
The ro
You can modify the output format:
>>> a = 13.95 >>> a 13.949999999999999 >>> print "%.2f" % a 13.95