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.

Structure​

ecm:avg(object...)

Parameters​

Parameter

Description

object

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

Example

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