返回数字序列中的最小值。
带有一个参数的 min() 版本将其解释为数字数组,并返回最小的数字。
带有两个或更多参数的 min() 版本将它们解释为单独的数字,并返回最小的数字。
示例
语法
min(n0, n1)
min(nums)
参数
n0
数字:
要比较的第一个数字。
n1
数字:
要比较的第二个数字。
nums
数字[]:
要比较的数字。
返回值
数字: 最小值。
This page is generated from the comments in src/math/calculation.js . Please feel free to edit it and submit a pull request!