I wrote some code to convert my hexadecimal display string to decimal integer. However, when input is something like 100a or 625b( something with letter) I got an error like
void htod(String hexadecimal) { int h = hexadecimal.length() - 1; int d = 0; int n = 0; for(int i = 0; i