摘要: int(a) 绝对值向0方向取整,符号不变 math.ceil(a) 向正无穷取整 math.floor(a) 向负无穷取整 round(a,n=0) 四舍五入,第二个参数说明保留小数位数 阅读全文
posted @ 2019-05-24 12:48 ShineLe 阅读(847) 评论(0) 推荐(1)