convert character to integer java ascii chart code example
Example: java convert char to int
char something = '1';
int value = Integer.parseInt(something + "");
System.out.println(value); // prints 1
char something = '1';
int value = Integer.parseInt(something + "");
System.out.println(value); // prints 1