-
-
Notifications
You must be signed in to change notification settings - Fork 18
mean
drewmccluskey edited this page Jan 9, 2019
·
3 revisions
Returns the mean (average) of a set of inputs.
mean(item1, item2..)
Argument | Description |
---|---|
T item1 |
First value to compare |
T item2 |
Another value to compare |
Returns: T
This function works by adding up all the input values and then dividing them by the number of inputs.
var meanNumber = mean(3,8,5); // return 5,333334
This function return the mean (average) of a set of real value arguments (3,8,5).
Back to number_functions