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 serhiy.storchaka
Recipients MJH, serhiy.storchaka
Date 2018-02-26.16:12:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519661544.47.0.467229070634.issue32956@psf.upfronthosting.co.za>
In-reply-to
Content
It works as documented.

"""
For the built-in types supporting round(), values are rounded to the closest multiple of 10 to the power minus ndigits; if two multiples are equally close, rounding is done toward the even choice (so, for example, both round(0.5) and round(-0.5) are 0, and round(1.5) is 2).
"""
https://docs.python.org/3/library/functions.html#round
History
Date User Action Args
2018-02-26 16:12:24serhiy.storchakasetrecipients: + serhiy.storchaka, MJH
2018-02-26 16:12:24serhiy.storchakasetmessageid: <1519661544.47.0.467229070634.issue32956@psf.upfronthosting.co.za>
2018-02-26 16:12:24serhiy.storchakalinkissue32956 messages
2018-02-26 16:12:24serhiy.storchakacreate