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.181 -- Release Build+97279656b5a55675063a4190481e67c4f9809501
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