Description

Calculate the average of a set of numbers

Syntax

avg(numbers)

Parameters

Input ParameterTypeDescription
numbersarray of numbersAn array containing the numbers for which the average is to be calculated

Return value

Type
number

Sample

ExampleResultDescription
avg([10, 15, 20, 25])17.5Returns the average of the input numbers

To view all the Math and Number functions, click here.