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

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page

FEEDBACK