python round()函数

round(x,[,n])方法返回浮点数x的四舍五入值。

 

例如:

 

posted @ 2020-04-26 10:55  lililili——  阅读(246)  评论(0)    收藏  举报