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.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
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