Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Handmade Character Soft Toys
anil1961
Updated:
Yesterday at 2:11 PM
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Sunday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Hex, How to turn binary or decimal to hex
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="wgdchathuranga_1" data-source="post: 8456864" data-attributes="member: 257568"><p><span style="font-size: 12px">First go to </span><a href="http://www.shareordie.com/forum/index.php?showtopic=3269" target="_blank"><span style="font-size: 12px">http://www.shareordie.com/forum/index.php?showtopic=3269</span></a><span style="font-size: 12px"> to learn binary.</span></p><p> </p><p><span style="font-size: 12px">OK, 1,453,752 is 101100010111010111000 is binary, now we turn it into a Hex number.</span></p><p><span style="font-size: 12px">First Hex numbers goes like this:</span></p><p><span style="font-size: 12px">1=1</span></p><p><span style="font-size: 12px">2=2</span></p><p><span style="font-size: 12px">.</span></p><p><span style="font-size: 12px">.</span></p><p><span style="font-size: 12px">9=9</span></p><p><span style="font-size: 12px">10=A</span></p><p><span style="font-size: 12px">11=B</span></p><p><span style="font-size: 12px">12=C</span></p><p><span style="font-size: 12px">13=D</span></p><p><span style="font-size: 12px">14=E</span></p><p><span style="font-size: 12px">15=F</span></p><p><span style="font-size: 12px">Now you need to take the first octet (the far right 4) and place it under this little grid:</span></p><p><span style="font-size: 12px">8 4 2 1</span></p><p><span style="font-size: 12px">--------</span></p><p><span style="font-size: 12px">1 0 0 0 = 8</span></p><p><span style="font-size: 12px">See the 1 under the 8 column?</span></p><p><span style="font-size: 12px">That is what you add.</span></p><p><span style="font-size: 12px">So the next octet is 1011, put it under the grid:</span></p><p><span style="font-size: 12px">8 4 2 1</span></p><p><span style="font-size: 12px">--------</span></p><p><span style="font-size: 12px">1 0 0 0 = 8</span></p><p><span style="font-size: 12px">1 0 1 1 = B</span></p><p><span style="font-size: 12px">See 8+2+1=11, so you can't just say 11 you have to put it in a Hex number, which is B.</span></p><p><span style="font-size: 12px">So the full Hex number of 1,453,752 is:</span></p><p><span style="font-size: 12px">8 4 2 1</span></p><p><span style="font-size: 12px">--------</span></p><p><span style="font-size: 12px">1 0 0 0 = 8</span></p><p><span style="font-size: 12px">1 0 1 1 = B</span></p><p><span style="font-size: 12px">1 1 1 0 = E</span></p><p><span style="font-size: 12px">0 0 1 0 = 2</span></p><p><span style="font-size: 12px">0 1 1 0 = 6</span></p><p><span style="font-size: 12px">0 0 0 1 = 1 <-- Just add zero if it isn't a full octet</span></p><p><span style="font-size: 12px">162EB8</span></p><p><span style="font-size: 12px">So if you want to turn a number in to the shorter version of Hex, just turn it into binary, then use this grid and you'll do fine</span></p><p></p><p><span style="font-size: 12px">P.S. Thanks Korrupt for the number to work with</span></p></blockquote><p></p>
[QUOTE="wgdchathuranga_1, post: 8456864, member: 257568"] [SIZE=3]First go to [/SIZE][URL="http://www.shareordie.com/forum/index.php?showtopic=3269"][SIZE=3]http://www.shareordie.com/forum/index.php?showtopic=3269[/SIZE][/URL][SIZE=3] to learn binary.[/SIZE] [SIZE=3]OK, 1,453,752 is 101100010111010111000 is binary, now we turn it into a Hex number.[/SIZE] [SIZE=3]First Hex numbers goes like this:[/SIZE] [SIZE=3]1=1[/SIZE] [SIZE=3]2=2[/SIZE] [SIZE=3].[/SIZE] [SIZE=3].[/SIZE] [SIZE=3]9=9[/SIZE] [SIZE=3]10=A[/SIZE] [SIZE=3]11=B[/SIZE] [SIZE=3]12=C[/SIZE] [SIZE=3]13=D[/SIZE] [SIZE=3]14=E[/SIZE] [SIZE=3]15=F[/SIZE] [SIZE=3]Now you need to take the first octet (the far right 4) and place it under this little grid:[/SIZE] [SIZE=3]8 4 2 1[/SIZE] [SIZE=3]--------[/SIZE] [SIZE=3]1 0 0 0 = 8[/SIZE] [SIZE=3]See the 1 under the 8 column?[/SIZE] [SIZE=3]That is what you add.[/SIZE] [SIZE=3]So the next octet is 1011, put it under the grid:[/SIZE] [SIZE=3]8 4 2 1[/SIZE] [SIZE=3]--------[/SIZE] [SIZE=3]1 0 0 0 = 8[/SIZE] [SIZE=3]1 0 1 1 = B[/SIZE] [SIZE=3]See 8+2+1=11, so you can't just say 11 you have to put it in a Hex number, which is B.[/SIZE] [SIZE=3]So the full Hex number of 1,453,752 is:[/SIZE] [SIZE=3]8 4 2 1[/SIZE] [SIZE=3]--------[/SIZE] [SIZE=3]1 0 0 0 = 8[/SIZE] [SIZE=3]1 0 1 1 = B[/SIZE] [SIZE=3]1 1 1 0 = E[/SIZE] [SIZE=3]0 0 1 0 = 2[/SIZE] [SIZE=3]0 1 1 0 = 6[/SIZE] [SIZE=3]0 0 0 1 = 1 <-- Just add zero if it isn't a full octet[/SIZE] [SIZE=3]162EB8[/SIZE] [SIZE=3]So if you want to turn a number in to the shorter version of Hex, just turn it into binary, then use this grid and you'll do fine[/SIZE] [SIZE=3]P.S. Thanks Korrupt for the number to work with[/SIZE] [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom