When I do the following, rounding to 2 decimal places doesn't seem to work. I should get 0.99 :
>>> a =0.99 >>> a 0.98999999999999999 >>> round(a,2) 0.98999999999999999 >>> thank you. -- http://mail.python.org/mailman/listinfo/python-list
When I do the following, rounding to 2 decimal places doesn't seem to work. I should get 0.99 :
>>> a =0.99 >>> a 0.98999999999999999 >>> round(a,2) 0.98999999999999999 >>> thank you. -- http://mail.python.org/mailman/listinfo/python-list