Please help with denary to octal conversions!
Hey guys,
I'm studying computer at the moment at college, and I am stuck on number conversions: -
I can do binary to denary, denary to binary e.t.c
but the one I don't understand is denary to octal? :cool:
For example, the number 19 in denary is 23 when converted to octal?
But how is this worked out? I have googled this but could only find difficult and confusing explanations.
Please could someone help me in this! what's the method for converting denary to octal? :wave:
I would really appreciate any help guys!
Thanks a lot!
Re: Please help with denary to octal conversions!
Hm, such a shame they don't teach Latin so much any more.
The "Bi" in "binary" means "two", as in bicycle, biped etc. Hence binary is base 2.
Denary (Decimal) is base 10.
Octal is base 8 (Octagon?)
So, in a binary number the digits correspond to:
16 8 4 2 1
In decimal we have
10000 1000 100 10 1
And in Octal
4096 512 64 8 1
Can you see how it works now?
zaza
Re: Please help with denary to octal conversions!
Perform Integer divison, tracking remainders.
19 / 8 = 2 R3
2/8 = 0 R2 <- Stop here, you've reached level 0
Therefore,
19 Base 8 = the remainders from bottom to top = 23
Re: Please help with denary to octal conversions!
Quote:
Originally Posted by Something Else
Perform Integer divison, tracking remainders.
19 / 8 = 2 R3
2/8 = 0 R2 <- Stop here, you've reached level 0
Therefore,
19 Base 8 = the remainders from bottom to top = 23
Ahem.
:)
Re: Please help with denary to octal conversions!
lol!
ducks into phonebooth...saves the world...becomes me again...
Looks like Something Else wasn't too awake this morning!
:D
Re: Please help with denary to octal conversions!
Quote:
Originally Posted by Something Else
Perform Integer divison, tracking remainders.
19 / 8 = 2 R3
2/8 = 0 R2 <- Stop here, you've reached level 0
Therefore,
19 Base 8 = the remainders from bottom to top = 23
Thanks man! i get it now!