Method NextDouble
NextDouble(Random, double, double)
Returns a random double in the specified range.
public static double NextDouble(this Random random, double minValue, double maxValue)
Parameters
randomRandomThe random instance.
minValuedoubleThe minimum value (inclusive).
maxValuedoubleThe maximum value (exclusive).
Returns
- double
A random double in the specified range.