Char to Digit di Java
char myDigit= '1';
// converting
int myConvertedDigit= Character.getNumericValue(c);
Cloudy Caribou
char myDigit= '1';
// converting
int myConvertedDigit= Character.getNumericValue(c);