Is there an equivalent to the atoi c function in java ?
I have a string(containing a hex number) which I want to convert to
be an integer.
Alternatively how can I read in a hex number from a
If I read it in the following way it will throw an exception
if the number contains a letter (i.e. 6B)
int int_val = new Integer(hexf.getText()).intValue();
So how should I do it ??
Thanks in advance...