int number = Integer.parseInt(stringNum, base);