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 Implicit Conversion Operators

 

Defines an implicit conversion of the value of a type to a Decimal value.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticImplicit(Byte to Decimal)

Defines an implicit conversion of an 8-bit unsigned integer to a Decimal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(Char to Decimal)

Defines an implicit conversion of a Unicode character to a Decimal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(Int16 to Decimal)

Defines an implicit conversion of a 16-bit signed integer to a Decimal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(Int32 to Decimal)

Defines an implicit conversion of a 32-bit signed integer to a Decimal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(Int64 to Decimal)

Defines an implicit conversion of a 64-bit signed integer to a Decimal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(SByte to Decimal)

Defines an implicit conversion of an 8-bit signed integer to a Decimal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(UInt16 to Decimal)

Defines an implicit conversion of a 16-bit unsigned integer to a Decimal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(UInt32 to Decimal)

Defines an implicit conversion of a 32-bit unsigned integer to a Decimal.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(UInt64 to Decimal)

Defines an implicit conversion of a 64-bit unsigned integer to a Decimal.

The overloads of the Implicit method define the types from which the compiler can automatically convert a Decimal value without an explicit casting operator (in C#) or a call to a conversion function (in Visual Basic). They are widening conversions that do not involve data loss and do not throw an OverflowException exception.

Return to top
Show: