format
typescript
Mathf.Max(lhs, rhs)class: Mathf
description
Returns the maximum value among two or more values.
parameter
| param_name | type | description |
|---|---|---|
| lhs | number | Value 1 |
| rhs | number | Value 2 |
return
| type | description |
|---|---|
number | The maximum value among the two values. |
code example
typescript
let max = Mathf.Max(10,11)//max=11