n = Oct(number)
|number||(Long) Any valid numeric expression.|
If number is not already a whole number, it is rounded to the nearest integer before being evaluated.
|If number is||Oct returns|
|Any other number||up to 11 octal characters|
You can represent octal numbers directly by preceding numbers in the proper range with &O. For example, &O10 is the octal notation for decimal 8.
sOct = Oct(4) ' Returns "4"
sOct = Oct(10) ' Returns "10"
sOct = Oct(459) ' Returns "713"