Hello all,

When executing the following statement:

Float.parseFloat("2358.166016")

It generates an out of memory exception. It only happens when parsing
that  number in quotes. The workaround is to use Double.parseDouble().

I've only tested this in Android 1.5. Don't know if it exists in 1.6

Took me too many hours to figure this one out. I've already reported
this as a bug: ID 4185

The link to the issues is:

http://code.google.com/p/android/issues/detail?id=4185&sort=-id&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to