当面对x.5数字时,Python的round()似乎总是向上舍入:print round(1.5),round(2.5) ... import numpy as np print np.round(1.5),np.round(2.5) ...
確定! 回上一頁