ValoChele

ValoChele

  • NA
  • 68
  • 20.9k

How to convert letters to number?

Nov 7 2017 2:09 AM
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)