The random function (rand) converts a seed into a random number within the specified range, inclusive of the minimum and exclusive of the maximum. The minimum and maximum values are automatically swapped if they are reversed.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| - | No Primary Input | - |
| Seed | Seed to determine the unique variation of which number is generated. Default: | u64 |
| Min | The smaller end of the range within which the random number is generated. Default: | f64 |
| Max | The larger end of the range within which the random number is generated. Default: | f64 |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | f64 |