Thread: Tiles etc..
View Single Post
  #13  
Old 06-11-2005, 12:00 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Hex is easy to learn

numbers go from 0-F. Think of A,B,C,etc as 10,11,12,etc.

0xBEEF

Start from the right. The last digit is your ones, then the next to the last is your 16s, then your 16^2s, 16^3s, etc. For this example, it is F*1 + E*16 + E*16^2 + B*16^3.

Translating the letters, you get 15 + 14*16 + 14*16^2 + 11*16^3. The answer is 48879.
Reply With Quote