WorksheetFunction.Hex2Dec(Object) 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 a hexadecimal number to decimal.
public:
System::String ^ Hex2Dec(System::Object ^ Arg1);
public string Hex2Dec (object Arg1);
Public Function Hex2Dec (Arg1 As Object) As String
Parameters
- Arg1
- Object
Number - the hexadecimal number you want to convert. Number cannot contain more than 10 characters (40 bits). The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
Returns
Remarks
If number is not a valid hexadecimal number, Hex2Dec returns the #NUM! error value.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for