我遇到了python圆函数的问题.当我通过执行round(0.715,2)答案是2位数来回答是0.71时,类似地,当我执行round(0.615,2)结果是0.61时.但是当我执行round(0.515,2)它时给出0.52,类似round(0.915,2)的结果是0.92.
round(0.715,2)
round(0.615,2)
round(0.515,2)
round(0.915,2)
有人可以解释一下吗?
python math decimal rounding python-3.x
decimal ×1
math ×1
python ×1
python-3.x ×1
rounding ×1