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