String a = String.valueOf(2); // int to numeric String int i = Integer.parseInt(a); // numeric String to int