mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 22:57:58 +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:
35
docs/commands/random-decimal.md
Normal file
35
docs/commands/random-decimal.md
Normal file
@ -0,0 +1,35 @@
|
||||
# random decimal
|
||||
Generate a random decimal within a range [min..max]
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> random decimal (range) {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
* `(range)` Range of values
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
|
||||
## Examples
|
||||
Generate a default decimal value between 0 and 1
|
||||
```shell
|
||||
> random decimal
|
||||
```
|
||||
|
||||
Generate a random decimal less than or equal to 500
|
||||
```shell
|
||||
> random decimal ..500
|
||||
```
|
||||
|
||||
Generate a random decimal greater than or equal to 100000
|
||||
```shell
|
||||
> random decimal 100000..
|
||||
```
|
||||
|
||||
Generate a random decimal between 1.0 and 1.1
|
||||
```shell
|
||||
> random decimal 1.0..1.1
|
||||
```
|
||||
|
Reference in New Issue
Block a user