Skip to content
搜索文档
K
中文
English
中文
English
Appearance
Menu
返回顶部
directory
格式
typescript
Mathf.
Max
(lhs, rhs)
所属类:
Mathf
描述
返回两个或多个值中的最大值。
参数
参数名
类型
描述
lhs
number
值1
rhs
number
值2
返回值
类型
描述
number
两个值中的最大值
代码示例
typescript
let
max
=
Mathf.
Max
(
10
,
11
)
//max=11