Skip to content

#322 Add support for negative ndigits in round; additionally, fixing …#535

Merged
jmadler merged 1 commit into
PythonCharmers:masterfrom
kayneb:322-add-negative-ndigits-support-to-round
Feb 5, 2020
Merged

#322 Add support for negative ndigits in round; additionally, fixing …#535
jmadler merged 1 commit into
PythonCharmers:masterfrom
kayneb:322-add-negative-ndigits-support-to-round

Conversation

@kayneb

@kayneb kayneb commented Dec 19, 2019

Copy link
Copy Markdown
Contributor

This PR adds support for negative ndigits, conforming to the behavior of Python 2 and 3. Additionally, there was a bug where rounding was not properly provided to numbers that are of type Decimal. This PR also fixes that.

…nally, fixing a bug so that it handles passing in Decimal properly
@jmadler jmadler merged commit f389b09 into PythonCharmers:master Feb 5, 2020
@jmadler

jmadler commented Feb 5, 2020

Copy link
Copy Markdown
Contributor

Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants