SyntaxFix
Write A Post
Hire A Developer
Questions
The built-in round() works just fine in Python 2.7 or later.
round()
Example:
>>> round(14.22222223, 2) 14.22
Check out the documentation.