New submission from Kenneth Fossen <fossen.kenn...@gmail.com>:
When round is given 3 as argument for number of decimal points, the expected behaviour is to return a digit with 3 decimal points Example: ig1 = 0.4199730940219749 ig2 = 0.4189730940219749 print(round(ig1, 3)) # 0.42 expected to be 0.420 print(round(ig2, 3)) # 0.419 ---------- messages: 402413 nosy: kenfos priority: normal severity: normal status: open title: round displays 2 instead of 3 digits type: behavior versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45263> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com