I'm guessing that int is by definition base10; the radix parameter tells the function what base you are coming *from*. Therefore int(123,2) is illegal because 2 and 3 are not valid values for base2 numbers. int(123,4) is 27 because 1*4^2+2*4+3=27. Does this make sense? greg