nushell/docs/commands/random-decimal.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

598 B

random decimal

Generate a random decimal within a range [min..max]

Usage

> 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

> random decimal

Generate a random decimal less than or equal to 500

> random decimal ..500

Generate a random decimal greater than or equal to 100000

> random decimal 100000..

Generate a random decimal between 1.0 and 1.1

> random decimal 1.0..1.1