Max(
     var:value1,
     var:value2,
     [var:value3...]
)
var

Arguments

value1

Value to compare.

value2

Value to compare.

value3...

Optional. Value to compare...

Return value

Largest of the input values.

Description

Returns the largest of the provided input values. You can provide as many values as you like..

The values should all be the same type as each other (e.g. all numbers, all dates, etc.)

Example:

Output( Max(2, -5, 7, 1) );
--> 7

See also: Min