Character.getNumericValue['z']

Java
//Java
int f=Character.getNumericValue['z'];
System.out.println(f); // prints 35 
//a=10, z=35
Source

Also in Java: