My code is simply:
int idec = Integer.parseInt(value, 16);
When I enter as value “01dae610”, I correctly get “31122960”.
When I enter as value “d149e510”, I get a java.lang.NumberFormatException. The correct value is: “3511280912”.
I have no clue why this is. Can someone help?
Because that is outside the range of an
int. Use along/Longinstead.