I want a to be rounded to 13.95.
a
>>> a 13.949999999999999 >>> round(a, 2) 13.949999999999999
The ro
You can use format operator for rounding the value up to 2 decimal places in python:
print(format(14.4499923, '.2f')) // output is 14.45