Converting a String to a int(integer) Number
public class Main { public static void main(String[] argv) throws Exception { int i = Integer.parseInt("123"); System.out.println(i); } }