主页
Python
四舍五入的小数
demo_numpy_ufunc_rounding3
运行 ❯
×
更改方向
保存代码
更改主题
import numpy as np arr = np.floor([-3.1666, 3.6667]) print(arr)
[-4. 3.]