Difference between revisions of "MAX - Return the maximum (Reports & Settings Report Generator function)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
== Syntax ==
 
== Syntax ==
  '''$MAX'''{limit1, limit2, limit3, limit4, limit5, limit6, limit7, limit8, limit9, limit10}
+
  '''$MAX'''{item1, item2, item3, item4, item5, item6, item7, item8, item9, item10}
  
 
== Description ==
 
== Description ==
Line 7: Line 7:
  
 
== Parameters ==
 
== Parameters ==
;limit1
+
;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.
;limit2
+
;item2
:A text or numeric parameter that can not be omitted.
+
:A text or numeric parameter that can be omitted.
 
:The second item to compare.
 
:The second item to compare.
;limit3
+
;item3
:A text or numeric parameter that can not be omitted.
+
:A text or numeric parameter that can be omitted.
 
:The third item to compare.
 
:The third item to compare.
;limit4
+
;item4
:A text or numeric parameter that can not be omitted.
+
:A text or numeric parameter that can be omitted.
 
:The fourth item to compare.
 
:The fourth item to compare.
;limit5
+
;item5
:A text or numeric parameter that can not be omitted.
+
:A text or numeric parameter that can be omitted.
 
:The fifth item to compare.
 
:The fifth item to compare.
;limit6
+
;item6
:A text or numeric parameter that can not be omitted.
+
:A text or numeric parameter that can be omitted.
 
:The sixth item to compare.
 
:The sixth item to compare.
;limit7
+
;item7
:A text or numeric parameter that can not be omitted.
+
:A text or numeric parameter that can be omitted.
 
:The seventh item to compare.
 
:The seventh item to compare.
;limit8
+
;item8
:A text or numeric parameter that can not be omitted.
+
:A text or numeric parameter that can be omitted.
 
:The eighth item to compare.
 
:The eighth item to compare.
;limit9
+
;item9
:A text or numeric parameter that can not be omitted.
+
:A text or numeric parameter that can be omitted.
 
:The ninth item to compare.
 
:The ninth item to compare.
;limit10
+
;item10
:A text or numeric parameter that can not be omitted.
+
: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.