|  | RandGenMTwistNextDouble(Boolean) Method | 
            Returns a random number greater than or equal to zero, and either strictly
            less than one, or less than or equal to one, depending on the value of the
            given boolean parameter.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
 Syntax
Syntaxpublic double NextDouble(
	bool includeOne
)
Public Function NextDouble ( 
	includeOne As Boolean
) As Double
public:
double NextDouble(
	bool includeOne
)
member NextDouble : 
        includeOne : bool -> float Parameters
- includeOne  Boolean
- 
            If true, the random number returned will be 
            less than or equal to one; otherwise, the random number returned will
            be strictly less than one.
            
Return Value
Double
            If 
includeOne is 
true, this method returns a
            single-precision random number greater than or equal to zero, and less
            than or equal to one. If 
includeOne is 
false, this method
            returns a single-precision random number greater than or equal to zero and
            strictly less than one.
            
 See Also
See Also