answersLogoWhite

0

One method:

Take the decimal number, divide by 8.

The remainder of the division will be the least significant (rightmost) digit of the octal number.

Take the quotient from the previous step, divide it by 8. The remainder will be the next digit of the octal number (going right to left).

Repeat until the quotient is 0.

Example: Convert 300 to octal.

300/8 = 37 Remainder 4.

37/8 = 4 remainder 5.

4/8 = 0 remainder 4.

So the octal number is 454.

You can test this by calculating:

4 * 8^2 + 5 * 8^1 + 4 * 8^0

= 4*64 + 5*8 + 4

= 256 + 40 + 4 = 300.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

ReneRene
Change my mind. I dare you.
Chat with Rene
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
RossRoss
Every question is just a happy little opportunity.
Chat with Ross

Add your answer:

Earn +20 pts
Q: How do you convert a decimal number to octal number?
Write your answer...
Submit
Still have questions?
magnify glass
imp