nushell/docs/commands/math-round.md
JT bff81f24aa
Autogenerate missing docs (#3514)
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

429 B

math round

Applies the round function to a list of numbers

Usage

> math round {flags} 

Flags

  • -h, --help: Display this help message
  • -p, --precision : digits of precision

Examples

Apply the round function to a list of numbers

> echo [1.5 2.3 -3.1] | math round

Apply the round function with precision specified

> echo [1.555 2.333 -3.111] | math round -p 2