how to transform string number to int number code example Example: java convert String to int int i = Integer.parseInt(myString);