
02-22-2002, 10:25 AM
|
|
Banned
|
 |
Join Date: Oct 2001
Posts: 1,177
|
|
|
this question wasn't directed at me, but I feel compelled to answer
Hex is a 16-digit number system (as opposed to our 10-digit system)
so, in Hex
1 is 16^0
10 is 16^1
100 is 16^2
where in standard
1 is 10^0
10 is 10^1
100 is 10^2
to have these extra 6 digits, the letters A-F are used
Hex to Standard conversions
5 - 5
9 - 9
A -10
C - 12
F - 15
10 - 16
In graal, to show a number is hex, we start off this number with 0x
0x1AF
0xFF
the good thing about hex, is that every value that can be stored in a byte is a two digit number in hex, because "FF" is 255, and that is the max a byte can hold...so and two digits will be a byte
I am bored, so hey |
|
|
|