how to turn a char* into an int code example Example: char to int int n = Character.getNumericValue(char);