math avg for math
Returns the average of a list of numbers.
Signature
> math avg {flags}
Input/output types:
| input | output |
|---|---|
| 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