Convert.ToDouble Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts a specified value to a double-precision floating point number.

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
ToDouble(Boolean) Converts the value of the specified Boolean value to the equivalent double-precision floating point number.
ToDouble(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent double-precision floating point number.
ToDouble(Char) Calling this method always throws InvalidCastException.
ToDouble(Decimal) Converts the value of the specified Decimal number to an equivalent double-precision floating point number.
ToDouble(Double) Returns the specified double-precision floating point number; no actual conversion is performed.
ToDouble(Int16) Converts the value of the specified 16-bit signed integer to an equivalent double-precision floating point number.
ToDouble(Int32) Converts the value of the specified 32-bit signed integer to an equivalent double-precision floating point number.
ToDouble(Int64) Converts the value of the specified 64-bit signed integer to an equivalent double-precision floating point number.
ToDouble(Object) Converts the value of the specified Object to a double-precision floating point number.
ToDouble(SByte) Converts the value of the specified 8-bit signed integer to the equivalent double-precision floating point number.
ToDouble(Single) Converts the value of the specified single-precision floating point number to an equivalent double-precision floating point number.
ToDouble(String) Converts the specified String representation of a number to an equivalent double-precision floating point number.
ToDouble(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent double-precision floating point number.
ToDouble(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent double-precision floating point number.
ToDouble(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent double-precision floating point number.
ToDouble(Object, IFormatProvider) Converts the value of the specified Object to an double-precision floating point number using the specified culture-specific formatting information.
ToDouble(String, IFormatProvider) Converts the specified String representation of a number to an equivalent double-precision floating point number using the specified culture-specific formatting information.

Top

See Also

Reference

Convert Class

Convert Members

System Namespace