This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients vishalatul09, xtreak
Date 2022-03-30.11:04:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648638299.31.0.152847329174.issue47160@roundup.psfhosted.org>
In-reply-to
Content
This is documented

https://docs.python.org/3/library/functions.html#round

> The behavior of round() for floats can be surprising: for example, round(2.675, 2) gives 2.67 instead of the expected 2.68. This is not a bug: it’s a result of the fact that most decimal fractions can’t be represented exactly as a float. See Floating Point Arithmetic: Issues and Limitations for more information.
History
Date User Action Args
2022-03-30 11:04:59xtreaksetrecipients: + xtreak, vishalatul09
2022-03-30 11:04:59xtreaksetmessageid: <1648638299.31.0.152847329174.issue47160@roundup.psfhosted.org>
2022-03-30 11:04:59xtreaklinkissue47160 messages
2022-03-30 11:04:59xtreakcreate