1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Conversion of bases of numbers

  1. Dec 25, 2013 #1
    1. The problem statement, all variables and given/known data
    convert 14.334 to the base 16 to a no. to the base 10


    2. Relevant equations
    sum ofeach no.*its poand take position weigth
    3. The attempt at a solution
    the integer part 14 will be 4*16^0+1*16^1=20 to the base 10
    the decimal part 0.334 is my problem
    i multiply 0.334 *16 and take the integer part each time but when to stop?
     
  2. jcsd
  3. Dec 25, 2013 #2

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    Similar to 1416=1*161 + 4*160, you get 14.316=1*161 + 4*160 + 3*16-1 and so on, and you can calculate with that in the usual way.

    The index 16 means "this number is in base 16".
     
  4. Dec 25, 2013 #3
    ok but what about 14.334 to the base 10 to a no. to base 16 ?
     
    Last edited: Dec 25, 2013
  5. Dec 25, 2013 #4

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    Just follow the same rules for other bases. My equations didn't even rely on base 10 (well, just to express "16").
    There is nothing special about 10, we are just more used to this base than to others.
     
  6. Dec 25, 2013 #5

    phinds

    User Avatar
    Gold Member
    2016 Award

    Odd question, since mfb has given you EXACTLY the answer for that except that he stopped at 14.3 and expected you to make the incredibly trivial extension of what he did to get on to 14.334
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Conversion of bases of numbers
  1. Base number systems (Replies: 0)

  2. Endian Conversion (Replies: 29)

  3. Units Conversion (Replies: 3)

Loading...