Python Function Reference

round
Return number rounded to ndigits precision after the decimal point.
Python 3.13
round(number, ndigits=None)
ndigits
Number of digits after the decimal point.
Examples
Python 3.13
>>> round(3.14159, 2)
3.14