4
Answers

How to convert letters to number?

ValoChele

ValoChele

7y
192
1
What is the easiest way of converting a letter to integer in below fashion
 
A=1,
B=2,
C=3 ,
....
Z=26.
Also the small letter counterparts will have the same value is well, like "c" should also be equal to 3 and so on.
Answers (4)