round()函数 浮点数的四舍五入

浮点数的四舍五入

print round(1.7333)
2.0
posted @ 2017-01-31 16:39  道高一尺  阅读(1398)  评论(0编辑  收藏  举报