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 value | Number value | Average() returns |
---|---|---|
0 | 10 | 5.0 |
2 | 36.8445 | 19.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.