Edit

Share via


WorksheetFunction.Decimal(String, Double) Method

Definition

Converts a text representation of a number in a given base into a decimal number.

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

Parameters

Arg1
String

The number that you want to convert.

Arg2
Double

The base Radix of the number you are converting.

Returns

DOUBLE

Applies to