Average

Description

Returns the average value of the given collection in a new column as a Double. All elements in the collection must be a number data type.

Use

  • Argument:
    • Select an argument. (Number)
  • Argument:
    • Select an argument. (Number)
  • Optional: Select additional arguments. (Number)
  • Output field:
    • Enter an output field name.

Example

Number valueNumber valueAverage() returns
0105.0
236.844519.42225

Hero Platform_ Example

An example of this function can be found in Hero Platform_'s library of examples.

Download the example titled "function_Average" to see an example of this function. 

Type

Formulas