-
Notifications
You must be signed in to change notification settings - Fork 156
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
No Math Round method #244
Comments
Quirrel added a The post you linked to incorrectly states that Also, that post is about rounding to a certain number of decimal places, but you never mentioned that, so we can assume you're not suggesting that. Because that would be a pretty kitchen-sink request which seems out of scope for the standard library. |
Yes you are correct, that link does not describe the solution wanted. To be clear the feature I would like is |
Python 3 rounds |
Description of the problem
There is no easy way to round a number without using a lot of maths
Desired solution for the problem
A round method to be added to the math library
Additional context
https://forums.electricimp.com/t/round-float-to-fixed-decimal-places/2037/2
The text was updated successfully, but these errors were encountered: