It will round to 0 if x is smaller then 0.005.
x = 0.005
round(x, 2)
> 0.01
x = 0.0049
round(x, 2)
> 0.00
1
solved When I round x in python it returns 0.0 [closed]
It will round to 0 if x is smaller then 0.005.
x = 0.005
round(x, 2)
> 0.01
x = 0.0049
round(x, 2)
> 0.00
1
solved When I round x in python it returns 0.0 [closed]