Skip to content
Chung Leong edited this page Jan 10, 2022 · 3 revisions

max - Find highest value

number max(number[] $values)

number max(number $value1, number $value2, ...)

If the first and only parameter is an array, max() returns the highest value in that array. If at least two parameters are provided, max() returns the largest of these values.

Parameters:

values - An array containing the values.

value1 - The first value.

value1 - The second value.

Return Value:

The highest value of the parameters provided.

Version

1.0 and above.

Clone this wiki locally