random decimal
for random> random decimal {flags} (range)
range
: Range of valuesinput | output |
---|---|
nothing | number |
Generate a default float value between 0 and 1
>random decimal
Generate a random float less than or equal to 500
>random decimal..500
Generate a random float greater than or equal to 100000
>random decimal100000..
Generate a random float between 1.0 and 1.1
>random decimal1.0..1.1
Use random float
instead
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/random_decimal.html