Binary and Hexadecimal conversion.

[deleted user]
10 years ago | edited 10 years ago

7

##How to convert from binary to decimal.[/center] **
Here are the multiples binary uses.[/center]**
65536 32768 16384 8192 4096 2048 1024 512 256 128 64 32 16 8 4 2 1[/center] Okay let say we had a number 1 under the '1' next we have a number 0 under the '2' and a number 0 under the '4' and a 1 under the '8'. This would give us a binary number of **1001** and if we add the top numbers together where there is a 1 under the number, we get: 1 under '1' = '1' then we have a 0 under the 2 = '0' next the 0 under the 4 = '0' and the 1 under the '8' = '8' so we add the '8' and '1' together and we get '9' therefore **1001 in binary base '2' = '9' in Dinary or Decimal Base '10'.**
**What would this number in binary convert to in decimal?**[/center]
1000000000000001
How we work it out is like this: count from right to left there is 16 numbers 1 & 0's now count on the top line of dinary numbers and the 16th number is 32768 and a 1 at the start so 32768 + 1 = 32769 easy is it not when you know how! [center]##Hexadecimal is base 16.
Okay now we want to convert the Dinary or Decimal (base 10) into Hexadecimal. Not as hard as you might think. Hex or Hexadecimal is base 16 and its numbers and characters are as follow: You can use the number '0' to the letter 'F' like this->(0123456789ABCDEF). The decimal value for the number '1' converted to hexadecimal is still a '1' but the hexadecimal value for '15' in decimal is a letter 'F' in hexadecimal and the value of '17' decimal is '11' in Hexadecimal and '10' is 'A'. Get it? [center]So if we have a base 10 number of 100 what is it in Hex?? well let's have a look at this table.
[center]![Image](http://mygovan.com/hextable.jpg)
Base 16 is where the 'numbers' you can use are '0' to the letter 'F' like this->(0123456789ABCDEF). The decimal value for the number '1' converted to hexadecimal is still a '1' but the hexadecimal value for '15' in decimal is a letter 'F' hexadecimal and the value of '17' decimal is '11' in Hexadecimal. Get it? [center]There are a lot of online converters out here and here is a good one to use. [ BASE CONVERTER](http://www.kaagaard.dk/service/convert.htm)
12replies
7voices
336views

0

Good tutorial, @ANONRA . Just can’t figure out why someone gave you negative karma for this post. :/


0

well said !!!

jayssj11
10 years ago

0

+1 ANONRA . nice share

[deleted user]
10 years ago | edited 10 years ago

0

hi all no idea why i would get a negative karmaq guess someone don’t like me? lol :)
I only did it to try and help a little as some members were having problems with binary and hex. Thanks for your kind comments. have a great 2014 :)

[IAmDevil]
10 years ago

0

Hmm might be a mistake !! Could have clicked down arrow instead of up ! Lol ?
But nice post !


0

Nothing changes then? We’ll done ANONRA sod the neg karma and who gave it to you. At least you take the time to post and try to help!

Kabue
10 years ago

0

A very god reason for giving this post/thread negative karma, is that a tutorial like this already exist in the forum…. -.-
Made by me 8 month before Anonra…. So thank you Anonra. Remember to use the search bar before posting.
https://www.hackthis.co.uk/forum/hacking-security/tutorials-articles/1222-binary-decoding
-Kabue

[IAmDevil]
10 years ago

0

Hmm… So you gave the -ve karma ? ?

Kabue
10 years ago

-1

-.- seriously??
Look at my post count… Don’t have 100 posts, so can’t give negative karma.
Don’t know who did it, but I support it.
-Kabue

[deleted user]
10 years ago

0

Why are you being a prat. I didn’t know the same sort of stuff was posted a while ago. I was only answering a member who asked the question. So all I have to say on this bollocks is just that. Bollocks!! I guess the best thing to do on here is just to let you all get on with your own little world. Thanks to the members who found it helpful. And the moaning members, I hope you have a wonderful life as you see it. I won’t bother trying to help anymore

[IAmDevil]
10 years ago

0

C'mon guys let it go.
It was a stupid misunderstanding! ?

Kabue
10 years ago | edited 10 years ago

0

People keep complaining about multiple post with same question, but when I complain about dobbel post with same answer, I am called a prat??! o.O
I don’t mind that you are trying to help, but I think users who answer should use the search bar, like users who ask.
Very simple.
-Kabue

Discussion thread has been locked. You can no longer add new posts. Unlock
1 of 13

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss