Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NumberFormatException :-(

37 views
Skip to first unread message

SalvoS

unread,
Mar 26, 2007, 9:40:34 AM3/26/07
to

java.lang.NumberFormatException: For input string: ".E0"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:
1224)
at java.lang.Double.parseDouble(Double.java:510)
at java.text.DigitList.getDouble(DigitList.java:151)
at java.text.DecimalFormat.parse(DecimalFormat.java:1303)
at java.text.NumberFormat.parse(NumberFormat.java:331)
at it.pippo.common.util.Utils.getDoubleFromString(Utils.java:204)
at ...
2007-03-26 15:33:16,656 java.lang.NumberFormatException: For input
string: ".E0"

A qualcuno e' successo qualcosa del genere?

L'argomento passato sembra corretto...

CarMas

unread,
Mar 26, 2007, 10:00:52 AM3/26/07
to
"SalvoS" <ssp...@gmail.com> ha scritto nel messaggio

> java.lang.NumberFormatException: For input string: ".E0"

> L'argomento passato sembra corretto...

Evidentemente l'argomento passato non e' corretto...
Se guardi la grammatica
http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.10.2
trovi anche la spiegazione su come sarebbe un valore valido.

Saluti
CarMas

0 new messages