数字的圆整int VS round`

数字的圆整int VS round` int 向下圆整,round四舍五入 >>> int(1.4)1>>> int(1.9)1>>> round(1

数字的圆整int VS round`
int 向下圆整,round四舍五入

>>> int(1.4)
1
>>> int(1.9)
1
>>> round(1.4)
1
>>> round(1.9)
2