Skip to main content
Version: Streamsheets 3.0

HEX.TO.DEC

Converts a hexadecimal number to decimal.

Syntax

=HEX.TO.DEC(Number)

Arguments

NameTypeDescription
NumberNumberThe hexadecimal number to convert.

Return

TypeDescription
Number or ErrorThe decimal number or a #NUM! error if given number is not a valid hexadecimal number.

Examples

FormulaResultComment
=HEX.TO.DEC("A5")
165converts hexadecimal A5 to decimal