The uniform random double in range policy generates a random double-precision floating-point number within a specified range. The generated number is based on a uniform distribution.
In a uniform distribution of random numbers from 1 to 10, the number of ones generated is roughly equal to the number of fives or tens generated.
This policy is available with the function ScrambleMask.uniformRandomDoubleInRange().
ScrambleMask.uniformRandomDoubleInRange(<arg:rangeLowerBound>, <arg:rangeUpperBound>)
For example, to generate a value from .01 to 99.99, enter the following syntax:
ScrambleMask.uniformRandomDoubleInRange('.01', '99.99')
Argument | Description |
---|---|
rangeLowerBound | The start of the range. The minimum value generated. |
rangeUpperBound | The end of the range. The maximum value generated. |