int n = Character.getNumericValue(char);
char something = '1';
int value = Integer.parseInt(something + "");
System.out.println(value); // prints 1
int a = ch -'0';
char a = 'a';
int ia = (int)a;
/* note that the int cast is not necessary -- int ia = a would suffice */