On Mar 15, 6:09 pm, "johnny" <[EMAIL PROTECTED]> wrote: > When I do the following, rounding to 2 decimal places doesn't seem to > work. I should get 0.99 :
In binary, 0.99 is the recurring fraction 0.11 11110101110000101000 11110101110000101000 11110101110000101000 .... Thus, it can't be exactly represented as a float. -- http://mail.python.org/mailman/listinfo/python-list