VBScript Oct
Function
The Oct function returns a string representing the octal value of a specified number.
Note: If the argument is not an integer, it is rounded to the nearest integer before performing the operation.
Syntax
Parameter | Description |
---|---|
number | Required. Any valid expression. If the number is: Null - then the Oct function returns Null.<br> Empty - then the Oct function returns zero (0).<br> Any other number - then the Oct function returns up to 11 octal characters. |
Example
Example
The output of the above example: