I meant 'valueOf' method of the various Number subclasses... :-)

You're right. I just took a look at the code that is executed by
Double.valueOf(...).
It is hard-coded for using periods as decimal seperators.

On Sep 30, 12:55 pm, Gerald <[email protected]> wrote:
> There is no valueOf method in the Number class. If I use the
> Double.valueOf method it fails to work according to my users. The
> Android docs on Double.valueOf are pretty thin, however the JDK docs
> are pretty clear that this accepts a string with a number formatted
> according to the Java Language Specifications and thus does not accept
> a localized number string.
>
> Gerald
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to