| View previous topic :: View next topic |
| Author |
Message |
royalsymbol Cheater
Reputation: 0
Joined: 14 Nov 2007 Posts: 36
|
Posted: Mon Jan 14, 2008 8:27 am Post subject: Teach me how to calculate HEX~ |
|
|
Hi,
i want to learn how to calculate HEX. i got windows calculator but i don't know how to calculate HEX lol = = i clicked sientific and click hex then whats next? like 64 = 99 somehow >.> how to calculate others? someone teach me please
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Mon Jan 14, 2008 9:21 am Post subject: |
|
|
| Code: | Hex to decimal:
Number in hex 2F.
Hex Bases 16³ 16² 16¹ 16[size=14]⁰[/size]
-↓↓---↓↓---↓↓--↓↓-
4096 256 16 1
-----------------
number: 0 0 2 F
So: 16*2 + F*1 = 32+ 1*15 = 32 + 15 = 47
Decimal: 47 |
|
|
| Back to top |
|
 |
Deine Mutter Expert Cheater
Reputation: 1
Joined: 05 Apr 2006 Posts: 181
|
Posted: Mon Jan 14, 2008 9:53 am Post subject: |
|
|
decimal = hex
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F
| Code: |
hex: 53A
| 16² | 16 | 1 |
----------------
| 5 | 3 | A |
=
| 16² | 16 | 1 |
----------------
| 5 | 3 | 10|
10*1 + 3*16 + 5*16² =
10 + 48 + 1280 = 1338
|
_________________
|
|
| Back to top |
|
 |
killersamurai Expert Cheater
Reputation: 0
Joined: 10 Sep 2007 Posts: 197 Location: Colorado
|
Posted: Mon Jan 14, 2008 10:19 am Post subject: |
|
|
Say that you have the number 167 in decimal. What you want to do is divide that by 16 because hex is of base 16. You take what ever is to the right of the decimal and multiply that by 16. That will give you the number. Keep doing it till you reach 0.
| Code: |
167 / 16 = 10.4375 = .4375 * 16 = 7
10 / 16 = 0.625 = .625 * 16 = 10 (10 is equal to A in hex)
Your answer is A7
|
To get the decimal.
| Code: |
7 * (16 to the zero power) 16 ^ 0 = 7
10 (A) * 16 ^ 1 = 160
160 + 7 = 167
increase the power if there are more numbers
|
This method works with binary and octal. You just need to change the base. To get the value in calculator, choose your number system, enter something in and click on a different system. That will do the conversion. By the way, 64h = 100d. 63h = 99d
|
|
| Back to top |
|
 |
royalsymbol Cheater
Reputation: 0
Joined: 14 Nov 2007 Posts: 36
|
Posted: Mon Jan 14, 2008 11:02 am Post subject: |
|
|
| guys~ i'm trying to learn how to use the windows calculator to calculate hex~!! click which button? >.> plus or minus , etc.. thanks.
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Jan 14, 2008 11:27 am Post subject: |
|
|
| royalsymbol wrote: | | guys~ i'm trying to learn how to use the windows calculator to calculate hex~!! click which button? >.> plus or minus , etc.. thanks. |
It will do the conversion for you when you select hex.
|
|
| Back to top |
|
 |
|