Sage Modeling and Simulation Library

IRandomChannel..::..NextDouble Method (Double, Double)

Returns a random double on the range [min,max), unless min == max, in which case it returns min.

Namespace:  Highpoint.Sage.Randoms
Assembly:  Sage4 (in Sage4.dll)

Syntax


double NextDouble(
	double min,
	double max
)

Parameters

min
Type: Double
max
Type: Double

Return Value

The next random double in the range [min,max).