下限函数

下限函数将参数向下取整为最接近的整数。

参数:number

要向下取整为整数的数字。这可以来自源节点、其他函数的结果或者您指定的值。

返回:number

小于参数的最接近整数。

示例:

floor(4.7) = 4