Export (0) Print
Expand All

Convert.ToDecimal Method

Converts a specified value to a Decimal number.

Name Description
Convert.ToDecimal (Boolean) Converts the value of the specified Boolean value to the equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Char) Calling this method always throws InvalidCastException.

Supported by the .NET Compact Framework.

Convert.ToDecimal (DateTime) Calling this method always throws InvalidCastException.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Decimal) Returns the specified Decimal number; no actual conversion is performed.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Double) Converts the value of the specified double-precision floating point number to an equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Int16) Converts the value of the specified 16-bit signed integer to an equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Int32) Converts the value of the specified 32-bit signed integer to an equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Int64) Converts the value of the specified 64-bit signed integer to an equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Object) Converts the value of the specified Object to a Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (SByte) Converts the value of the specified 8-bit signed integer to the equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Single) Converts the value of the specified single-precision floating point number to the equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (String) Converts the specified String representation of a number to an equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent Decimal number.

Supported by the .NET Compact Framework.

Convert.ToDecimal (Object, IFormatProvider) Converts the value of the specified Object to an Decimal number using the specified culture-specific formatting information.

Supported by the .NET Compact Framework.

Convert.ToDecimal (String, IFormatProvider) Converts the specified String representation of a number to an equivalent Decimal number using the specified culture-specific formatting information.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft