[ http://issues.apache.org/jira/browse/TAPESTRY-827?page=comments#action_12370948 ]
Leonardo Quijano Vincenzi commented on TAPESTRY-827: ---------------------------------------------------- I don't think that's a good idea, since locale-based grouping of numbers is most useful precisely when entering data (money data, for example). It allows users to easily check if the number they entered is ok. For example, what's easier to read? 1456879.34 or 1,456,879.23 ?? When editing large batches of data, not using the grouping separator would be error-prone. > Incorrect parsing of decimals in French locale by NumberTranslator > ------------------------------------------------------------------ > > Key: TAPESTRY-827 > URL: http://issues.apache.org/jira/browse/TAPESTRY-827 > Project: Tapestry > Type: Bug > Components: Build > Versions: 4.0 > Environment: Tomcat 5.0, jre 1.4.2, ie 6.0 > Reporter: Michael Thronton > Priority: Minor > > When validating numbers using NumberTranslator with French locale incorrect > parsing of a user entered decimal occurs. Example, 55 000 results in a String > value of 55 being returned by NumberTranslator. Reason being that the user > enters a space (0x20) as the grouping separator, however, > java.text.DecimalFormat expects a non-breaking space (0xA0). The tranlsator > should replace grouping separator spaces with non-breaking spaces? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
