Binary to Hex = HOW?

Nocturnal

Lifer
Jan 8, 2002
18,927
0
76
Please HELP ME!!!!!!!!!!!

Nobody is online at this moment via AIM so I can't bother notfred. How do I convert a set of four binary numbers into a hex number?

I know you usually group the binary number up into four numbers such as 1001 1011, etc etc. How do I convert them?
 

hdeck

Lifer
Sep 26, 2002
14,530
1
0
convert them to base 10 and then go to hex? that is what i would do, but i'm not too good at the converting thing.
 

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
0000=0
0001=1
0010=2
0011=3
0100=4
0101=5
0110=6
0111=7
1000=8
1001=9
1010=A
1011=B
1100=C
1101=D
1110=E
1111=F
 

Nocturnal

Lifer
Jan 8, 2002
18,927
0
76
Originally posted by: pillage2001
0000=0
0001=1
0010=2
0011=3
0100=4
0101=5
0110=6
0111=7
1000=8
1001=9
1010=A
1011=B
1100=C
1101=D
1110=E
1111=F

It would help if you told me or explained to me how you went about getting that conversion.
 

nord1899

Platinum Member
Jun 18, 2001
2,444
0
0
Originally posted by: Nocturnal
Originally posted by: pillage2001
0000=0
0001=1
0010=2
0011=3
0100=4
0101=5
0110=6
0111=7
1000=8
1001=9
1010=A
1011=B
1100=C
1101=D
1110=E
1111=F

It would help if you told me or explained to me how you went about getting that conversion.

Thats the straight mapping of the bin to hex.
0000b = 0d = 0h
1111b = 15d = Fh
 

Yomicron

Golden Member
Mar 5, 2002
1,735
1
81
convert the 4 bits to decimal, if it is <10 then use the decimal number, else use A for 10, B for 11, C for 12, D for 13, E for 14 and F for 15.
 

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
It's either you convert it to decimal then to Hex or you do them directly. The table I gave is not really hard to remember right??
 

Nocturnal

Lifer
Jan 8, 2002
18,927
0
76
Originally posted by: nord1899
Originally posted by: Nocturnal
Originally posted by: pillage2001
0000=0
0001=1
0010=2
0011=3
0100=4
0101=5
0110=6
0111=7
1000=8
1001=9
1010=A
1011=B
1100=C
1101=D
1110=E
1111=F

It would help if you told me or explained to me how you went about getting that conversion.

Thats the straight mapping of the bin to hex.
0000b = 0d = 0h
1111b = 15d = Fh

So you're converting from decimal to hex. I already have the binary number, converted it to a decimal and also have the octal. I need to convert one of the numbers to a hex. Which is the easiest way to accomplish this? Converting from decimal > hex, or binary > hex, or octal > hex?
 

PowerEngineer

Diamond Member
Oct 22, 2001
3,566
736
136
The four binary digits convert to a single hex number. 1000 => 8 0100 => 4 0010 => 2 and 0001 => 1 As an example 1001 => 8 + 1 = 9
1110 => 8 + 4 + 2 = E (where digits in hex are 1,2,3,4,5,6,7,8,9,A,B,C,D,E).
 

nord1899

Platinum Member
Jun 18, 2001
2,444
0
0
Originally posted by: Nocturnal
Originally posted by: nord1899
Originally posted by: Nocturnal
Originally posted by: pillage2001
0000=0
0001=1
0010=2
0011=3
0100=4
0101=5
0110=6
0111=7
1000=8
1001=9
1010=A
1011=B
1100=C
1101=D
1110=E
1111=F

It would help if you told me or explained to me how you went about getting that conversion.

Thats the straight mapping of the bin to hex.
0000b = 0d = 0h
1111b = 15d = Fh

So you're converting from decimal to hex. I already have the binary number, converted it to a decimal and also have the octal. I need to convert one of the numbers to a hex. Which is the easiest way to accomplish this? Converting from decimal > hex, or binary > hex, or octal > hex?

Whatever works, do it. Some people think its easier to go from Bin->Dec->Hex, but I think its not too hard to go from Bin->Hex.

Group the binary sequence into chunks of 4. Those chunks correlate directly to a Hex number, as per the table. That gives you the Hex number.
 

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
Originally posted by: nord1899
Originally posted by: Nocturnal
Originally posted by: nord1899
Originally posted by: Nocturnal
Originally posted by: pillage2001
0000=0
0001=1
0010=2
0011=3
0100=4
0101=5
0110=6
0111=7
1000=8
1001=9
1010=A
1011=B
1100=C
1101=D
1110=E
1111=F

It would help if you told me or explained to me how you went about getting that conversion.

Thats the straight mapping of the bin to hex.
0000b = 0d = 0h
1111b = 15d = Fh

So you're converting from decimal to hex. I already have the binary number, converted it to a decimal and also have the octal. I need to convert one of the numbers to a hex. Which is the easiest way to accomplish this? Converting from decimal > hex, or binary > hex, or octal > hex?

Whatever works, do it. Some people think its easier to go from Bin->Dec->Hex, but I think its not too hard to go from Bin->Hex.

Group the binary sequence into chunks of 4. Those chunks correlate directly to a Hex number, as per the table. That gives you the Hex number.

Do you need to show any work to go from Bin to hex?? If not, just refer to the table given and convert from there.
 

randal

Golden Member
Jun 3, 2001
1,890
0
71
Power Engineer is RIGHT


OT - WOOO for long island iced teas. heh. - /OT

randal
 

Nocturnal

Lifer
Jan 8, 2002
18,927
0
76
Originally posted by: PowerEngineer
The four binary digits convert to a single hex number. 1000 => 8 0100 => 4 0010 => 2 and 0001 => 1 As an example 1001 => 8 + 1 = 9
1110 => 8 + 4 + 2 = E (where digits in hex are 1,2,3,4,5,6,7,8,9,A,B,C,D,E).

If you only spaced or used some type of spacer to see what you meant it would have OWNED. Something like this, perhaps.

Originally posted by: PowerEngineer
The four binary digits convert to a single hex number. 1000 => 8, 0100 => 4, 0010 => 2, and 0001 => 1, As an example 1001 => 8 + 1 = 9
1110 => 8 + 4 + 2 = E (where digits in hex are 1,2,3,4,5,6,7,8,9,A,B,C,D,E).
 

majewski9

Platinum Member
Jun 26, 2001
2,060
0
0
Binary to hex is easy

0110 1101

0110 = 6 Hex
1101 = D hex

0110 1101 = 6D hex

Seperate into 4 bits then convert.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |