math avg for math

Returns the average of a list of numbers.

Signature

> math avg

Input/output types:

inputoutput
list<duration>duration
list<filesize>filesize
list<number>number

Examples

Compute the average of a list of numbers

> [-50 100.0 25] | math avg
25