math avg for math

Returns the average of a list of numbers.

Signature

> math avg

Examples

Compute the average of a list of numbers

> [-50 100.0 25] | math avg
25