Description Converts a hexadecimal number (base 16) to a decimal number (base 10).
Syntax HEX2DEC ( integer)
Argument | Description |
---|---|
integer | Any negative or positive whole number or zero. For the purposes of this function, the integer entered must be small enough to convert within the limits of the target. Any integer between 8,000,000,000 and 7FFFFFFFFF may be used. |
Remarks Note that the result of this function is a number.
Examples This function returns 16:
HEX2DEC(10)
This function returns 5.49756E + 11:
HEX2DEC(7FFFFFFFFF)
See Also BIN2DEC, BIN2HEX, BIN2OCT, DEC2BIN, DEC2HEX, DEC2OCT, HEX2BIN, HEX2OCT, OCT2BIN, OCT2DEC, OCT2HEX