K
Ken Hygh
I'm trying to get a long value from a hex string, and so far I can't
figure out my problem. When I try
long l = Long.parseLong("d2b19756c550c101",16);
I get a NumberFormatException. If I change that leading 'd' to a
number <= 7, then the code works fine.
What am I doing wrong?
Thanks,
Ken
figure out my problem. When I try
long l = Long.parseLong("d2b19756c550c101",16);
I get a NumberFormatException. If I change that leading 'd' to a
number <= 7, then the code works fine.
What am I doing wrong?
Thanks,
Ken