mirror of
https://github.com/nushell/nushell
synced 2024-12-28 22:13:10 +00: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
|
||
|
```
|
||
|
|