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.172 -- Release Build+241430fabc9f8d815f226ef82f939af6835b2b48
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