Decimal Explicit Conversion Operators

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

Converts the value of a Decimal object to another type.

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 operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to UInt16) Converts a Decimal to a 16-bit unsigned integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to SByte) Converts a Decimal to an 8-bit signed integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to UInt32) Converts a Decimal to a 32-bit unsigned integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to Char) Converts a Decimal to a Unicode character.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to Byte) Converts a Decimal to an 8-bit unsigned integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to Int64) Converts a Decimal to a 64-bit signed integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to Double) Converts a Decimal to a double-precision floating-point number.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to Int16) Converts a Decimal to a 16-bit signed integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to UInt64) Converts a Decimal to a 64-bit unsigned integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to Single) Converts a Decimal to a single-precision floating-point number.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Decimal to Int32) Converts a Decimal to a 32-bit signed integer.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Double to Decimal) Converts a double-precision floating-point number to a Decimal.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Explicit(Single to Decimal) Converts a single-precision floating-point number to a Decimal.

Top

See Also

Reference