I want to convert a character to that ascii number for example convert Z=>90

I know inverce of that but I can’t find this. exactly I want to shift entered value to two char upper
for example I want to convert A to C or B to D or Y to A

sorry I can’t speak english well

New contributor

amin ettefaghi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.