編輯

共用方式為


WorksheetFunction.Oct2Dec(Object) Method

Definition

Converts an octal number to decimal.

public:
 System::String ^ Oct2Dec(System::Object ^ Arg1);
public string Oct2Dec (object Arg1);
Public Function Oct2Dec (Arg1 As Object) As String

Parameters

Arg1
Object

Number - the octal number you want to convert. Number may not contain more than 10 octal characters (30 bits). The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation.

Returns

Remarks

If number is not a valid octal number, Oct2Dec returns the #NUM! error value.

Applies to