The DEC2OCT function is used to convert a decimal number to an octal number.
Formula:
=DEC2OCT(Number, Places) Whereas Number is the decimal number to be converted and Places is the number of characters to use. Negative numbers are represented using two's-complement notation.
Video Tutorial:
Let us convert a decimal number to an octal number, using the DEC2OCT function, with the help of the below video.