View Single Post
Old 09-05-2002, 06:29 PM   #6 (permalink)
duffer
BattleForums Newbie
 
Join Date: Sep 2002
Posts: 5
re: 2 posts before:

u r right ff=255 but f=15

Formula:

ffffffff.......(n * f) ==15*16^(n-1)+15*16^(n-2)+.......+15*16^0(x^0 allways ==1) in dec

0xf=15(dec)
0xff=255(dec)
oxfff=4095(dec)........

istead of f u can use any number supported by hex code (123456789abcdef) instead of 15*.... u will use proper dec number(123456789101112131415).

I suggest using calc or other prog to avoid mistakes cuz ppl make mistakes, calcs only if ppl enter bad data

peace
duffer is offline   Reply With Quote