ExCellerate.Functions.Math.Avg (excellerate v0.4.0)

Copy Markdown View Source

Returns the arithmetic mean (average) of the given values.

Accepts any number of numeric arguments.

Examples

avg(2, 4, 6)  4.0
avg(10)       10.0
avg(1, 2)     1.5