mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 10:28:33 +02:00
Autogenerate missing docs (#3514)
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
This commit is contained in:
23
docs/commands/math-round.md
Normal file
23
docs/commands/math-round.md
Normal file
@ -0,0 +1,23 @@
|
||||
# math round
|
||||
Applies the round function to a list of numbers
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> math round {flags}
|
||||
```
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
* -p, --precision <number>: digits of precision
|
||||
|
||||
## Examples
|
||||
Apply the round function to a list of numbers
|
||||
```shell
|
||||
> echo [1.5 2.3 -3.1] | math round
|
||||
```
|
||||
|
||||
Apply the round function with precision specified
|
||||
```shell
|
||||
> echo [1.555 2.333 -3.111] | math round -p 2
|
||||
```
|
||||
|
Reference in New Issue
Block a user