implement Character.integerValue