WorksheetFunction.NumberValue(String, String, String) Method

Definition

Converts text to number in a locale-independent manner.

public:
 double NumberValue(System::String ^ Arg1, System::String ^ Arg2, System::String ^ Arg3);
public double NumberValue (string Arg1, string Arg2, string Arg3);
Public Function NumberValue (Arg1 As String, Arg2 As String, Arg3 As String) As Double

Parameters

Arg1
String

String representing the number you want to convert.

Arg2
String

Character used as the decimal separator in the string.

Arg3
String

Character used as the group separator in the string.

Returns

DOUBLE

Applies to