Share via


NextDouble Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a random number between 0.0 and 1.0.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Overridable Function NextDouble As Double
public virtual double NextDouble()
public:
virtual double NextDouble()
abstract NextDouble : unit -> float 
override NextDouble : unit -> float 
public function NextDouble() : double

Return Value

Type: System. . :: . .Double
A double-precision floating point number greater than or equal to 0.0, and less than 1.0.

.NET Framework Security

See Also

Reference

Random Class

System Namespace