时间:2024-10-12 19:32:22
1、在命令窗口输入floor(),括号内输入需要向下取整的数字。
2、实例1>> floor(1.3)ans = 1
3、实例2>> floor(5.5)ans = 5
4、实例3>> floor(-1.5)ans = -2