@value string to int code example
Example: parse string to int java
String number = "10";
int result = Integer.parseInt(number);
System.out.println(result);
String number = "10";
int result = Integer.parseInt(number);
System.out.println(result);