Documentation/Calc Functions/OCT2HEX

From The Document Foundation Wiki
Jump to: navigation, search


Im-jabber.svg

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


Function name:

OCT2HEX

Category:

Add-in

Summary:

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

Syntax:

OCT2HEX(Number; Places)

Returns:

Arguments:

Number is the octal number. The number 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.

Places is the number of places to be output.

Additional details:

Examples:

=OCT2HEX(144;4) returns 0064.

Related LibreOffice functions:

ODF standard:

Equivalent Excel functions: