Click or drag to resize

RandomizerNextDouble Method (Double, Double)

Returns a random number within a specified range. Cryptographic secure.

Namespace:  Cauldron
Assembly:  Cauldron.Randomizer (in Cauldron.Randomizer.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static double NextDouble(
	double minValue,
	double maxValue
)

Parameters

minValue
Type: SystemDouble
The inclusive lower bound of the random number returned.
maxValue
Type: SystemDouble
The exclusive upper bound of the random number to be generated. maxValue must be greater than or equal to 0.

Return Value

Type: Double
A random value
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionminValue is greater than maxValue
See Also