Converting from base-2 to base-16

  1. How does one convert a number like 0.01011001012 to a base-16 system?

    I know how to do for ex. 100011102, but the comma (or period confuses me)...
     
  2. jcsd
  3. Mark44

    Staff: Mentor

    Conversion between binary and hex integers is pretty easy - each group of four binary digits, starting from the left, can be written as a single hex digit.

    Converting binary fractions is almost as easy. Starting at the "binary" point, each group of four binary digits represents a power of 1/16. The first four digits to the right of the point are 0101, or 5 in hex, and continue in the same pattern. The first hex digit represents sixteenths, the next represents 256th-s (1/(162), and so on.
     
    1 person likes this.
  4. next number is 9?
     
  5. 0.594?
     
  6. SteamKing

    SteamKing 8,783
    Staff Emeritus
    Science Advisor
    Homework Helper

    0.1 - base 2 would be 1/2 = 0.5

    Is 0.0101100101 - base 2 greater than or less than 0.1 - base 2?
     
  7. i meant 0.59416

    0.01011001012 = 0.59416 ?
     
    Last edited: Aug 30, 2014
  8. Mark44

    Staff: Mentor

    Looks good.
     
  9. Thanks!
     
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?

0
Draft saved Draft deleted