Documentation/Calc Functions/HEX2DEC

From The Document Foundation Wiki
Jump to: navigation, search


Im-jabber.svg

Under construction.
For now, see the system Help files.


Function name:

HEX2DEC

Category:

Add-in

Summary:

The result is the decimal number for the hexadecimal number entered.

Syntax:

HEX2DEC(Number)

Returns:

Arguments:

Number is a hexadecimal number or a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.

Additional details:

Examples:

=HEX2DEC("6a") returns 106.

Related LibreOffice functions:

ODF standard:

Equivalent Excel functions: