Random

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

ParameterDetailsPossible Types
-No Primary Input-
Seed

Seed to determine the unique variation of which number is generated.

Default: 0

u64
Min

The smaller end of the range within which the random number is generated.

Default: 0

f64
Max

The larger end of the range within which the random number is generated.

Default: 1

f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64