Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Convert.ToDouble Method

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.

  Name Description
Public method Static member ToDouble(Boolean) Converts the specified Boolean value to the equivalent double-precision floating-point number.
Public method Static member ToDouble(Byte) Converts the value of the specified 8-bit unsigned integer to the equivalent double-precision floating-point number.
Public method Static member ToDouble(Char) Calling this method always throws InvalidCastException.
Public method Static member ToDouble(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToDouble(Decimal) Converts the value of the specified decimal number to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Double) Returns the specified double-precision floating-point number; no actual conversion is performed.
Public method Static member ToDouble(Int16) Converts the value of the specified 16-bit signed integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Int32) Converts the value of the specified 32-bit signed integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Int64) Converts the value of the specified 64-bit signed integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Object) Converts the value of the specified object to a double-precision floating-point number.
Public method Static member ToDouble(SByte) Converts the value of the specified 8-bit signed integer to the equivalent double-precision floating-point number.
Public method Static member ToDouble(Single) Converts the value of the specified single-precision floating-point number to an equivalent double-precision floating-point number.
Public method Static member ToDouble(String) Converts the specified string representation of a number to an equivalent double-precision floating-point number.
Public method Static member ToDouble(UInt16) Converts the value of the specified 16-bit unsigned integer to the equivalent double-precision floating-point number.
Public method Static member ToDouble(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent double-precision floating-point number.
Public method Static member ToDouble(Object, IFormatProvider) Converts the value of the specified object to an double-precision floating-point number, using the specified culture-specific formatting information.
Public method Static member 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.