Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

kayneb
Copy link
Contributor

@kayneb kayneb commented Dec 19, 2019

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
Copy link
Contributor

jmadler commented Feb 5, 2020

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