Results 1 to 6 of 6

Thread: Please help with denary to octal conversions!

  1. #1
    Junior Member
    Join Date
    Sep 05
    Posts
    21

    Arrow 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?

    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?

    I would really appreciate any help guys!
    Thanks a lot!

  2. #2
    Frenzied Member zaza's Avatar
    Join Date
    Apr 01
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,484

    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

  3. #3
    Lively Member Something Else's Avatar
    Join Date
    Nov 03
    Location
    Where Humboldt Intersects Carlson
    Posts
    99

    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
    Last edited by Something Else; Dec 29th, 2005 at 10:14 AM.
    no soap...radio -mendhak

    I understand...just a little...
    No comprende, it's a riddle
    - Wall of Voodoo-Mexican Radio

  4. #4
    Frenzied Member zaza's Avatar
    Join Date
    Apr 01
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,484

    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.



  5. #5
    pathfinder NotLKH's Avatar
    Join Date
    Apr 01
    Posts
    2,397

    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!


  6. #6
    Junior Member
    Join Date
    Sep 05
    Posts
    21

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •