CODE
int i = ctr+1;
String str = Integer.toString(i);
int b = Integer.parseInt(str,base);
String str = Integer.toString(i);
int b = Integer.parseInt(str,base);
Will this not work? it throws the error when base!=10.
Posted 26 January 2010 - 02:32 AM
Posted 26 January 2010 - 10:22 AM
Posted 28 January 2010 - 02:17 AM