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.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
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