Mono Class Library: System.Decimal Overview | Members

System.Decimal Constructor

Constructs and initializes a new decimal value.

[System.CLSCompliant(false)]
public Decimal (ulong value)

Parameters

value
The ulong value used to initialize the new decimal.

Remarks

This constructor initializes the new decimal to the value specified by value. The scale of the new decimal is 0.

This member is not CLS-compliant. For a CLS-compliant alternative, use the decimal(long) constructor.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0