Name

Oct Function — Microsoft.VisualBasic.Conversion

Synopsis

Oct(number)
number required; Numeric or String

A valid numeric or string expression

Return Value

String

Description

Returns the octal value of a given number. If number is not already a whole number, it is rounded to the nearest whole number before being evaluated. If number is Nothing, an error occurs. Oct returns up to 11 octal characters.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.