I want a to be rounded to 13.95.
a
>>> a 13.949999999999999 >>> round(a, 2) 13.949999999999999
The ro
The built-in round() works just fine in Python 2.7 or later.
round()
Example:
>>> round(14.22222223, 2) 14.22
Check out the documentation.