mirror of
https://github.com/nushell/nushell.git
synced 2024-12-29 18:39:24 +01:00
18 lines
262 B
Markdown
18 lines
262 B
Markdown
|
# math abs
|
||
|
Returns absolute values of a list of numbers
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> math abs {flags}
|
||
|
```
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
|
||
|
## Examples
|
||
|
Get absolute of each value in a list of numbers
|
||
|
```shell
|
||
|
> echo [-50 -100.0 25] | math abs
|
||
|
```
|
||
|
|