NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Random.NextDouble

Returns a random number between 0.0 and 1.0.

[Visual Basic]
Overridable Public Function NextDouble() As Double
[C#]
public virtual double NextDouble();
[C++]
public: virtual double NextDouble();
[JScript]
public function NextDouble() : double;

Return Value

A Double that is greater than or equal to 0.0 and less than 1.0.

Remarks

Each number is equally likely to be returned. The seed is adjusted as a side effect of this call. Successive calls to NextDouble will yield different numbers.

See Also

Random Class | Random Members | System Namespace