Gemstone Common Library
Show/Hide TOC

# RandomNumber Property

Generates a semi cryptographically strong double-precision floating-point random number between zero and one.

## Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
C#
View Source Request Example

    public static double Number { get; }

VB
View Source Request Example

    Public Shared ReadOnly Property Number As Double
    	Get

C++
View Source Request Example

    public:
    static property double Number {
    	double get ();
    }

JavaScript
View Source Request Example

    Gemstone.Security.Cryptography.Random.get_Number = function();

#### Property Value

Double

## Exceptions

CryptographicException | The cryptographic service provider (CSP) cannot be acquired.

## See Also

#### Reference

Random Class
Gemstone.Security.Cryptography Namespace