计算最接近给定数字且小于或等于它的整数值。
示例
语法
floor(n)
参数
n
数字:
需要向下取整的数字。
返回值
整数: 向下取整后的数字。
This page is generated from the comments in src/math/calculation.js . Please feel free to edit it and submit a pull request!
计算最接近给定数字且小于或等于它的整数值。
floor(n)
需要向下取整的数字。