Skip to main content

Math: average

Calculates the average of all numbers. This is a per-record average over the inputs received together in one call — for a streaming average across rows, see the Aggregate namespace counterpart. An empty input fails the step with DivideByZero.

Example
Input: [1, 2, 3]
Formula: (1 + 2 + 3) / 3
Ouput: 2

Parameters

This function has no parameters.

Input

Number (multiple)required
Any numbers.

Output

Number
Average of all numbers.