answersLogoWhite

0


Best Answer

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
This answer is:
User Avatar

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