umedoblock added the comment: In addition. >>> D(round(D("2.675"), 2)) == D("2.68") True >>> D(round(D("1.65"), 1)) == D("1.7") False
I believe a bug or at least change the __round__(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24827> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com