Decimal number of a letter

Decimal number of a letter

Is there a function to get the decimal number of a letter? For example A is 65 and a is 97.