Windows apps
Collapse the table of content
Expand the table of content
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.

Convert::ToDecimal Method

 

Converts a specified value to a decimal number.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Boolean)

Converts the specified Boolean value to the equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Byte)

Converts the value of the specified 8-bit unsigned integer to the equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Char)

Calling this method always throws InvalidCastException.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(DateTime)

Calling this method always throws InvalidCastException.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Decimal)

Returns the specified decimal number; no actual conversion is performed.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Double)

Converts the value of the specified double-precision floating-point number to an equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Int16)

Converts the value of the specified 16-bit signed integer to an equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Int32)

Converts the value of the specified 32-bit signed integer to an equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Int64)

Converts the value of the specified 64-bit signed integer to an equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Object^)

Converts the value of the specified object to an equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Object^, IFormatProvider^)

Converts the value of the specified object to an equivalent decimal number, using the specified culture-specific formatting information.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(SByte)

Converts the value of the specified 8-bit signed integer to the equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(Single)

Converts the value of the specified single-precision floating-point number to the equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(String^)

Converts the specified string representation of a number to an equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(String^, IFormatProvider^)

Converts the specified string representation of a number to an equivalent decimal number, using the specified culture-specific formatting information.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(UInt16)

Converts the value of the specified 16-bit unsigned integer to an equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(UInt32)

Converts the value of the specified 32-bit unsigned integer to an equivalent decimal number.

System_CAPS_pubmethodSystem_CAPS_staticToDecimal(UInt64)

Converts the value of the specified 64-bit unsigned integer to an equivalent decimal number.

Return to top
Show:
© 2017 Microsoft