Skip to content
CryoEagle edited this page Dec 29, 2018 · 3 revisions

mean

Returns the mean (average) of a set of real value arguments.

Syntax:

mean(val1, val2..)
Argument Description
val 1 First value to compare
val 2 Another value to compare

Returns: double

Description:

This function works by adding up all the input values and then dividing them by their own number.

Example:

var mean = mean(3,8,5);

This function return the mean (average) of a set of real value arguments (3,8,5).

Back to number_functions

Clone this wiki locally