convert number to octal in js code example
Example 1: int to octal javascript
yourNumber = parseInt(octString, 8);
Example 2: int to octal javascript
octString = yourNumber.toString(8);
yourNumber = parseInt(octString, 8);
octString = yourNumber.toString(8);