mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 08:59:12 +01:00
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
573 B
573 B
title | layout | version |
---|---|---|
random decimal | command | 0.59.0 |
Generate a random decimal within a range [min..max]
Signature
> random decimal (range)
Parameters
range
: Range of values
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