Documentation/Calc Functions/DEC2OCT

From The Document Foundation Wiki
Jump to: navigation, search


Im-jabber.svg

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


Function name:

DEC2OCT

Category:

Add-in

Summary:

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

Syntax:

DEC2OCT(Number; Places)

Returns:

Arguments:

Number is a decimal number. If Number is negative, the function returns an octal number with 10 characters (30 bits). The most significant bit is the sign bit, the other 29 bits return the value.

Places means the number of places to be output.

Additional details:

Examples:

=DEC2OCT(100;4) returns 0144.

Related LibreOffice functions:

ODF standard:

Equivalent Excel functions: