为什么没有四舍五入?
来源:8-1 认识函数

ccccc10
2018-05-29
round(1.45,1) >>>1.4 为什么没有四舍五入?
round(1.46,1)>>>1.5
round(1.445,2)>>>1.45
写回答
1回答
-
慕仔8817963
2018-06-18
在 python 3 里面,round 函数会把数值四舍五入为最近的偶数。
00
相似问题
为什么没有四舍五入?
来源:8-1 认识函数
ccccc10
2018-05-29
round(1.45,1) >>>1.4 为什么没有四舍五入?
round(1.46,1)>>>1.5
round(1.445,2)>>>1.45
1回答
慕仔8817963
2018-06-18
在 python 3 里面,round 函数会把数值四舍五入为最近的偶数。
相似问题