SpreadJS Documentation
HEX2DEC
SpreadJS Documentation > Formula Reference > Formula Functions > HEX2DEC

This function converts a hexadecimal number to a decimal number.

Syntax

HEX2DEC(number)

Arguments

Specify the number to convert, which is limited to a maximum of 10 characters.

Remarks

An error value is returned if the number is invalid or more than 10 characters.

Data Types

Accepts numeric data. Returns numeric data.

Examples

HEX2DEC("FF")

See Also