I am getting an ASCII value and I want to convert it into an integer because I know it\'s an Integer ASCII value.
int a=53;
This is an ASC
Use Integer.parseInt() static method:
Integer.parseInt()
Oracle Docs Integer.parseInt()