HEX.TO.DEC
Converts a hexadecimal number to decimal.
Syntax
=HEX.TO.DEC(Number)
Arguments
Name | Type | Description |
---|---|---|
Number | Number | The hexadecimal number to convert. |
Return
Type | Description |
---|---|
Number or Error | The decimal number or a #NUM! error if given number is not a valid hexadecimal number. |
Examples
Formula | Result | Comment |
---|---|---|
| 165 | converts hexadecimal A5 to decimal |