# Rounding Numerical Values

round(1.23, 1)
round(1.27, 1)
round(-1.27,1)
round(1.25361, 3)

a = 1627731
round(a,-1)
round(a,-2)
round(a,-3)


# Discussion

x = 1.23456
format(x, '0.2f')
format(x,'0.3f')
'value is {:0.3f}'.format(x)

a = 2.1
b = 4.2
c = a + b
c
c = round(c,2)
c