Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I know how to convert 0101 | 0111 in which the 0101 gives me 5, and 0111 gives me 7 So hexadecimal number is: 57

But how about 0011 | 1100 0011 gives me 3, but 1100 gives me 12, does it mean the hexadecimal number is 312?

Thanks!

share|improve this question
3  
No, $3C$, recall hex $A, B, C, D, E, F for 10$ through $15$. Regards –  Amzoti Jan 15 at 0:58
    
...and $12$ in decimal is C in hexa... :-) –  Lucian Jan 15 at 8:47

1 Answer 1

In hexadecimal you need 16 digits. This is usually achieved by using $0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F$. That is $F$ is fifteen and $10$ is sixteen.

When converting from binary to hexadecimal, each group of four binary digits becomes one hexadecimal digit. In the case you are asking, $1100_2$ corresponds to $C_{16}$.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.