Functions
HEX2DEC
Convert hexadecimal to decimal
Try it
When to use it
When should I use HEX2DEC?
Use HEX2DEC to convert a hexadecimal string (e.g. a color code or hardware address) to a decimal integer for arithmetic or comparison.
Use cases
Convert hex FF to decimal
=HEX2DEC("F3")Used in
Syntax
HEX2DEC(number)Examples
=HEX2DEC("100") // => 256
=HEX2DEC("199") // => 409