max() Function

Returns the maximum of the specified number(s).

Syntax

max( number, … )

number: (Decimal Array) A candidate number or an array of candidates for the maximum.

Returns

Decimal

Notes

If all parameter values are integer, this function returns an integer.

Examples

You can experiment with this function in the test box below.

Test Input

max(1,2,3,4) returns 4

FEEDBACK