$max calculates the maximum from a list of values.
$max calculates the maximum from a list of values.
Tooltip
Syntax: $max(a[,b[,c[...]]])
Parameter
Description
aA value (e.g. '5'), a list (e.g. $el(3,true)) or a reference to a value (e.g.: $el(3)).
other parametersOther numeric values of type a.
Returns the numerically largest value in the list of parameters.
Example: $max(5,-6,3) – returns 5
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. |