<< Click to Display Table of Contents >> HEX2DEC (hexadecimal number to decimal number) |
Syntax:
HEX2DEC(Number)
Description:
This converts the given hexadecimal number (base 16) to a decimal number (base 10).
Number is the number to be converted.
Negative numbers must be represented in the 32-bit two's complement (see last example).
The permissible value range for Number is (in hexadecimal notation):
80000000 ≤ Number ≤ 7FFFFFFF
This corresponds in decimal notation to:
-2,147,483,648 ≤ Number ≤ 2,147,483,647
Example:
HEX2DEC("2A") returns 42
HEX2DEC("FFFFFFD6") returns -42
See also: