Επεξεργασία

Κοινή χρήση μέσω


Conversions.ToDouble Method

Definition

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