标签:floor python port class print highlight int numpy pre
数字取整
>>> import numpy >>> print(numpy.ceil(1.7)) 2.0 >>> print(numpy.floor(1.7)) 1.0 >>> print(int(1.7)) 1 >>>
标签:floor python port class print highlight int numpy pre
原文地址:https://www.cnblogs.com/guweixin/p/13269654.html