max (Maximum)
$max calculates the maximum from a list of values.
$max calculates the maximum from a list of values.
Syntax
$max(a [, b[, c[...]]])
Parameter
Name |
Description |
a |
A value (e.g. ' 5 '), a list (e.g. $el(3,true) ) or a reference to a value (e.g. $el(3) ). |
Other parameters |
Other numeric values of type a. |
Return value
The numerically largest value in the list of parameters.
Example
Syntax |
Result |
$max(2, 5, 7) $max($el( 28, true) ) |
7 The numerically largest value of the elements of the repeating element with the Id 28. |