go into object and and convert string to int code example
Example: go from string to int java
String myString = "1234";
int number = Integer.parseInt(myString);
String myString = "1234";
int number = Integer.parseInt(myString);