Oct Function [Runtime]

From LibreOffice Help
Jump to: navigation, search

Returns the octal value of a number.

Syntax:

Oct (Number)

Return value:

String

Parameters:

Number: Any numeric expression that you want to convert to an octal value.

Error Codes

5 Invalid procedure call

Example:

Sub ExampleOct
    MsgBox Oct(255)
End Sub