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 mark.dickinson
Recipients ChrisRands, Gerrit.Holl, docs@python, mark.dickinson
Date 2017-02-28.12:50:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488286219.45.0.570699534041.issue29677@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, I think the initial description could be clarified. It currently reads:

> Return the floating point value number rounded to ndigits digits after the decimal point.

... which doesn't make it clear what happens for negative ndigits. 

There's a line in the second paragraph:

> values are rounded to the closest multiple of 10 to the power minus ndigits

which technically *does* cover the case of negative ndigits correctly, but I think it would be good to have a clarification in the first paragraph of the description.
History
Date User Action Args
2017-02-28 12:50:19mark.dickinsonsetrecipients: + mark.dickinson, docs@python, Gerrit.Holl, ChrisRands
2017-02-28 12:50:19mark.dickinsonsetmessageid: <1488286219.45.0.570699534041.issue29677@psf.upfronthosting.co.za>
2017-02-28 12:50:19mark.dickinsonlinkissue29677 messages
2017-02-28 12:50:19mark.dickinsoncreate