Floating point value 1.555 is not exactly 1.555, but slightly less due to finite precision of float numbers:
>>> print '%.16f'%1.555 1.5549999999999999 Because of this, the correct result of round(1.555,2) is 1.55 and not 1.56. The current implementation is correct. One should use the Decimal type instead of float to implement exact decimal rounding. Sorry for the unneccessary bug report. - Viktor NOTE: Please close this as INVALID. - Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]