$avg (Average) calculates the average value over the specified parameters.
Tooltip
Syntax: $avg(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 parameters of type a.
Returns the average value over the specified values or fields.
Example: $avg(2, 5, 7) – returns 4,67
Syntax:
$avg(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 parameters of type a. |
Return value
The mean value over the specified values or fields.
Example
Syntax | Result |
|---|---|
$avg(2, 5, 7) $avg($el( 28, true) ) | 4.67 The mean value of the elements of the repeating element with Id 28. |