Mark Dickinson <dicki...@gmail.com> added the comment: > result is 2.55 and not 2.54. If python doesn't deliver "2.55" as the > result of it's rounding algorithm then it's doing it wrong. And if
Sorry, but that's just not true. I suggest that you (a) read the section on floating-point[1] in the Python tutorial, and/or (b) ask about this on comp.lang.python if you feel inclined---there are plenty of people there who would be glad to explain what's going on here. [1] http://docs.python.org/tutorial/floatingpoint.html _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5118> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com