Returns the numeric value of the given character