mirror of
https://github.com/nushell/nushell
synced 2024-12-28 22:13:10 +00:00
20 lines
240 B
Markdown
20 lines
240 B
Markdown
|
---
|
||
|
title: math abs
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Returns absolute values of a list of numbers
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> math abs ```
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Get absolute of each value in a list of numbers
|
||
|
```shell
|
||
|
> [-50 -100.0 25] | math abs
|
||
|
```
|
||
|
|