Difference between revisions of "MAX - Return the maximum (Reports & Settings Report Generator function)"
From Catalyst
(Updated from revision control) |
(Updated from revision control) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
== Syntax == | == Syntax == | ||
− | '''$MAX'''{ | + | '''$MAX'''{item1, item2, item3, item4, item5, item6, item7, item8, item9, item10} |
== Description == | == Description == | ||
Line 7: | Line 7: | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;item1 |
:A text or numeric parameter that can not be omitted. | :A text or numeric parameter that can not be omitted. | ||
:The first item to compare. | :The first item to compare. | ||
− | ; | + | ;item2 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The second item to compare. | :The second item to compare. | ||
− | ; | + | ;item3 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The third item to compare. | :The third item to compare. | ||
− | ; | + | ;item4 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The fourth item to compare. | :The fourth item to compare. | ||
− | ; | + | ;item5 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The fifth item to compare. | :The fifth item to compare. | ||
− | ; | + | ;item6 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The sixth item to compare. | :The sixth item to compare. | ||
− | ; | + | ;item7 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The seventh item to compare. | :The seventh item to compare. | ||
− | ; | + | ;item8 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The eighth item to compare. | :The eighth item to compare. | ||
− | ; | + | ;item9 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The ninth item to compare. | :The ninth item to compare. | ||
− | ; | + | ;item10 |
− | :A text or numeric parameter that can | + | :A text or numeric parameter that can be omitted. |
:The tenth item to compare. | :The tenth item to compare. | ||
Latest revision as of 05:51, 5 July 2017
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.