mean
Modified on Tue, 22 Aug 2023
Description
Calculate the mean (average) value of a list of numbers
Syntax
mean(numbers)
Parameters
| Input Parameter | Type | Description | 
|---|---|---|
| numbers | array of numbers | An array containing numbers to calculate the mean value from | 
Return value
| Type | 
|---|
| number | 
Sample
| Example | Result | Description | 
|---|---|---|
| mean([5, 10, 15, 20]) | 12.5 | Returns the average value of the input list | 
To view all the Math and Number functions, click here.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article