I'm not going to throw my code up here...but I am re-initializing the same char variable multiple times.
The first time......e = Character.forDigit(z,10);....gets executed.....e is what it should...
Type: Posts; User: surfbumb
I'm not going to throw my code up here...but I am re-initializing the same char variable multiple times.
The first time......e = Character.forDigit(z,10);....gets executed.....e is what it should...
I just want to convert an integer...say 8....to a char...which will be '8'.
int z = 5;
char e;
e = Character.forDigit(z,10);
//e should become '5'