Character-to-integer conversion function.
This method is elemental and returns a default integer scalar value.