Converting from base-2 to base-16

  • Context: High School 
  • Thread starter Thread starter johann1301
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
johann1301
Messages
216
Reaction score
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)...
 
Mathematics news on Phys.org
johann1301 said:
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)...
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.
 
  • Like
Likes   Reactions: 1 person
next number is 9?
 
i meant 0.59416

0.01011001012 = 0.59416 ?
 
Last edited: