Description

Calculate the mean (average) value of a list of numbers

Syntax

mean(numbers)

Parameters

Input ParameterTypeDescription
numbersarray of numbersAn array containing numbers to calculate the mean value from

Return value

Type
number

Sample

ExampleResultDescription
mean([5, 10, 15, 20])12.5Returns the average value of the input list

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