You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mark Struberg (JIRA)" <de...@myfaces.apache.org> on 2011/02/05 15:37:30 UTC
[jira] Updated: (MYFACES-3029) DoubleConverter isn't Locale aware
[ https://issues.apache.org/jira/browse/MYFACES-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg updated MYFACES-3029:
-----------------------------------
Status: Patch Available (was: Open)
> DoubleConverter isn't Locale aware
> ----------------------------------
>
> Key: MYFACES-3029
> URL: https://issues.apache.org/jira/browse/MYFACES-3029
> Project: MyFaces Core
> Issue Type: Bug
> Reporter: Mark Struberg
>
> Our DoubleConverter currently always use Double.valueOf() but this just takes the default Locale of the server we run at.
> But the String representing the double might be different depending on the Users Locale.
> E.g. in Germany, a double of 47.33 will be written as "47,33", whereas in the US, the decimal separator will be a dot: "47.33"
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira