On Fri, 10 Sep 1999, Andrew T wrote: > im trying to figure out how hex works > could someone tell me if i have it right? > > 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 > 1 2 3 4 5 6 7 8 9 A B C D E F So far so good... > so...... > $ff would be like saying > 30? Nope. 0xFF is 0xF * 0x10 + 0xF * 0x1 or 255 = 15 * 16 + 15 * 1 Brendan