+0  
 
+5
832
3
avatar

How do I convert base 10 to hex

 

I can go from hex to base 10 as the equals button is split into hex, binary, and decimal when I type 0x1234, but this is not the case the other way round

 Mar 7, 2016
edited by Guest  Mar 7, 2016
edited by Guest  Mar 7, 2016
 #1
avatar+131 
+5

You could probably use the divide by 2 method to convert to binary as every four digits in binary equals one hexadecimal number.

 

For example;

IN DECIMAL

158

 

158/2     0

79/2       1

39/2       1

19/2       1

9/2         1

4/2         0

2/2         0

1/2         1

 

IN BINARY

1001 1110

 

IN HEXADECIMAL

9 E 

 Mar 7, 2016
edited by MATHBITCH  Mar 7, 2016
 #2
avatar+131 
0

For any clarifications ask your one and only MATHBITCH.

 Mar 7, 2016
 #3
avatar+118723 
0

Thanks MB

Has MB answered your question?  I am not sure what you question is....

 

0 x any number = 0 no matter what base you are in ://

 Mar 7, 2016

3 Online Users