how to turn character to number code example Example: char to int int n = Character.getNumericValue(char);