mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
18 lines
254 B
Markdown
18 lines
254 B
Markdown
|
# math avg
|
||
|
Finds the average of a list of numbers or tables
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> math avg {flags}
|
||
|
```
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
|
||
|
## Examples
|
||
|
Get the average of a list of numbers
|
||
|
```shell
|
||
|
> echo [-50 100.0 25] | math avg
|
||
|
```
|
||
|
|