how to make a string to number java code example Example: converting string to interer int i = Integer.parseInt(myString);