math.ciel round to number python python code example
Example 1: round number python]
x = round(5.76543, 2)
print(x)
# 5.77
Example 2: rounding numbers in python
>>> round(2.5)
2
x = round(5.76543, 2)
print(x)
# 5.77
>>> round(2.5)
2