系统函数 mathLib.floor 返回不大于指定数字的最大整数。
myItem = 4.6; result = mathLib.floor(myItem); // result = 4
相关参考 EGL 库 MathLib