Mono Class Library: System.Decimal Overview | Members

System.Decimal Constructor

Constructs and initializes a new decimal value.

public Decimal (int value)

Parameters

value
The int 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.

Requirements

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