math abs
for math> math abs {flags}
input | output |
---|---|
duration | duration |
list<duration> | list<duration> |
list<number> | list<number> |
number | number |
Compute absolute value of each number in a list of numbers
> [-50-100.025] |math abs
╭───┬────────╮
│0│50│
│1│100.00│
│2│25│
╰───┴────────╯
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_abs.html