The function ecm:avg returns the average value from the specified arguments. Only arguments with numeric data types are evaluated. Null arguments or non-number data types are ignored. The value returned is an object type.

Example

${ecm:avg(6,10,8)}
CODE
This returns 8.

Structure​

ecm:avg(object...)

Parameters​

Parameter

Description

object

Specifies a target object to evaluate. Additional objects are added as a list, separated by commas.