Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Decimal Constructor

Initializes a new instance of Decimal.

Name Description
Decimal (Double) Initializes a new instance of Decimal to the value of the specified double-precision floating-point number.

Supported by the .NET Compact Framework.

Decimal (Int32) Initializes a new instance of Decimal to the value of the specified 32-bit signed integer.

Supported by the .NET Compact Framework.

Decimal (Int32[]) Initializes a new instance of Decimal to a decimal value represented in binary and contained in a specified array.

Supported by the .NET Compact Framework.

Decimal (Int64) Initializes a new instance of Decimal to the value of the specified 64-bit signed integer.

Supported by the .NET Compact Framework.

Decimal (Single) Initializes a new instance of Decimal to the value of the specified single-precision floating-point number.

Supported by the .NET Compact Framework.

Decimal (UInt32) Initializes a new instance of Decimal to the value of the specified 32-bit unsigned integer.

Supported by the .NET Compact Framework.

Decimal (UInt64) Initializes a new instance of Decimal to the value of the specified 64-bit unsigned integer.

Supported by the .NET Compact Framework.

Decimal (Int32, Int32, Int32, Boolean, Byte) Initializes a new instance of Decimal from parameters specifying the instance's constituent parts.

Supported by the .NET Compact Framework.

Community Additions

Show:
© 2014 Microsoft