Conversions.ToDouble Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts specified object to a Double value.
Overloads
ToDouble(Object) |
Converts an object to a Double value. |
ToDouble(String) |
Converts a string to a Double value. |
ToDouble(Object)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts an object to a Double value.
public:
static double ToDouble(System::Object ^ Value);
public static double ToDouble (object Value);
public static double ToDouble (object? Value);
static member ToDouble : obj -> double
Public Shared Function ToDouble (Value As Object) As Double
Parameters
- Value
- Object
The object to convert.
Returns
The Double value of the object.
Applies to
ToDouble(String)
- Source:
- Conversions.vb
- Source:
- Conversions.vb
- Source:
- Conversions.vb
Converts a string to a Double value.
public:
static double ToDouble(System::String ^ Value);
public static double ToDouble (string Value);
public static double ToDouble (string? Value);
static member ToDouble : string -> double
Public Shared Function ToDouble (Value As String) As Double
Parameters
- Value
- String
The string to convert.
Returns
The Double value of the string.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.