Integer.ToOctal

From Xojo Documentation

Method

Integer.ToOctal(Optional minimumDigits As Integer) As Text

Supported for all project types and targets.

Converts the integer value to a Text containing its octal representation.

Sample Code

Convert an Integer value to the octal text value:

Var i As Integer = 10
Var octal As Text = i.ToOctal(4) // octal = "0012"