mirror of
https://github.com/nushell/nushell.git
synced 2024-12-25 00:19:39 +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
|
||
|
```
|
||
|
|