avg
Modified on Tue, 22 Aug 2023
Description
Calculate the average of a set of numbers
Syntax
avg(numbers)
Parameters
Input Parameter | Type | Description |
---|---|---|
numbers | array of numbers | An array containing the numbers for which the average is to be calculated |
Return value
Type |
---|
number |
Sample
Example | Result | Description |
---|---|---|
avg([10, 15, 20, 25]) | 17.5 | Returns the average of the input numbers |
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