Functions

avg

Supported By

Syntax

[the] avg of factor

avg ( expression )

Factor and expression yield lists of integers, numbers, or complexes.

Example

put average(1,3,4) into bill

Description

The avg function returns the arithmetic mean, or average, of the numeric values passed to it. This is equal to the sum of the passed values divided by the number of values.

If all the values are integers or numbers, a number is returned. If any value is a complex, a complex is returned.

Synonym

average

See Also

geom, geomean