Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Oct Function

Returns the octal value of a number.

Syntax:


Oct (Number)

Return value:

String

Parameters:

Number: A 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