MAX - Return the maximum (Reports & Settings Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$MAX{item1, item2, item3, item4, item5, item6, item7, item8, item9, item10}

Description

Return the largest of the given parameters.

Parameters

item1
A text or numeric parameter that can not be omitted.
The first item to compare.
item2
A text or numeric parameter that can be omitted.
The second item to compare.
item3
A text or numeric parameter that can be omitted.
The third item to compare.
item4
A text or numeric parameter that can be omitted.
The fourth item to compare.
item5
A text or numeric parameter that can be omitted.
The fifth item to compare.
item6
A text or numeric parameter that can be omitted.
The sixth item to compare.
item7
A text or numeric parameter that can be omitted.
The seventh item to compare.
item8
A text or numeric parameter that can be omitted.
The eighth item to compare.
item9
A text or numeric parameter that can be omitted.
The ninth item to compare.
item10
A text or numeric parameter that can be omitted.
The tenth item to compare.

Returns

A text or numeric (depending on the parameters) value. Will return the largest of the parameters given. From 1 up to 10 parameters may be given.