voglio convertire una stringa esadecimale in decimale, ma ho avuto un errore nel codice seguente:java.lang.NumberFormatException la conversione di una stringa esadecimale a int
String hexValue = "23e90b831b74";
int i = Integer.parseInt(hexValue, 16);
L'errore:
Exception in thread "main" java.lang.NumberFormatException: For input string: "23e90b831b74"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:495)