forked from extern/nushell
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
36 lines
598 B
Markdown
36 lines
598 B
Markdown
# 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
|
|
```
|
|
|