Conversion of Char to Number is deprecated. Use Char.code property instead.
this.code.toShort()
Returns the value of this character as a Short.
Short
Thanks for your feedback!