Freigeben über


Decimal Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Initializes a new instance of Decimal.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Decimal(Double) Initializes a new instance of Decimal to the value of the specified double-precision floating-point number.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Decimal(Int32) Initializes a new instance of Decimal to the value of the specified 32-bit signed integer.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Decimal(array<Int32[]) Initializes a new instance of Decimal to a decimal value represented in binary and contained in a specified array.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Decimal(Int64) Initializes a new instance of Decimal to the value of the specified 64-bit signed integer.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Decimal(Single) Initializes a new instance of Decimal to the value of the specified single-precision floating-point number.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Decimal(UInt32) Initializes a new instance of Decimal to the value of the specified 32-bit unsigned integer.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Decimal(UInt64) Initializes a new instance of Decimal to the value of the specified 64-bit unsigned integer.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Decimal(Int32, Int32, Int32, Boolean, Byte) Initializes a new instance of Decimal from parameters specifying the instance's constituent parts.

Top

See Also

Reference