Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Decimal Explicit Conversion Operators

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.

  NameDescription
Public operator Static member Explicit(Decimal to Int16) Converts a Decimal to a 16-bit signed integer.
Public operator Static member Explicit(Decimal to Double) Converts a Decimal to a double-precision floating-point number.
Public operator Static member Explicit(Decimal to SByte) Converts a Decimal to an 8-bit signed integer.
Public operator Static member Explicit(Decimal to Char) Converts a Decimal to a Unicode character.
Public operator Static member Explicit(Decimal to Int64) Converts a Decimal to a 64-bit signed integer.
Public operator Static member Explicit(Decimal to Int32) Converts a Decimal to a 32-bit signed integer.
Public operator Static member Explicit(Decimal to UInt64) Converts a Decimal to a 64-bit unsigned integer.
Public operator Static member Explicit(Decimal to UInt16) Converts a Decimal to a 16-bit unsigned integer.
Public operator Static member Explicit(Decimal to Single) Converts a Decimal to a single-precision floating-point number.
Public operator Static member Explicit(Decimal to UInt32) Converts a Decimal to a 32-bit unsigned integer.
Public operator Static member Explicit(Decimal to Byte) Converts a Decimal to an 8-bit unsigned integer.
Public operator Static member Explicit(Double to Decimal) Converts a double-precision floating-point number to a Decimal.
Public operator Static member Explicit(Single to Decimal) Converts a single-precision floating-point number to a Decimal.
Top

Community Additions

ADD
Show:
© 2015 Microsoft