14171
Reporter: dmartin
Assignee: omeyn
Type: Improvement
Summary: periods instead of commas in numbers
Priority: Minor
Resolution: Invalid
Status: Resolved
Created: 2013-10-08 02:03:30.356
Updated: 2014-01-09 14:14:48.355
Resolved: 2014-01-09 14:14:48.333
Description: Minor thing: periods displayed instead of commas in numbers, whereas numbers used elsewhere.
*Reporter*: Dave Martin
*E-mail*: [mailto:David.Martin@csiro.au]]]>
Author: kbraak@gbif.org
Created: 2014-01-09 13:35:05.032
Updated: 2014-01-09 13:52:03.45
Assuming this is the result of localized number formatting, how about we set the locale to "en_US" [~mdoering@gbif.org]?
Note that the number formatting is locale sensitive:
<#setting locale="en_US
US people write: ${12345678?string(",##0.00")}
<#setting locale="hu
Hungarian people write: ${12345678?string(",##0.00")}
outputs this:
US people write: 12,345,678.00
Hungarian people write: 12 345 678,00
Source: http://freemarker.org/docs/ref_builtins_number.html
Author: mdoering@gbif.org
Comment: The purpose of localized number formats is that users see their local conventions. When I set my browser to German I can see the dots, when I use english I see the commas. This is expected behavior!
Created: 2014-01-09 14:05:46.326
Updated: 2014-01-09 14:05:46.326
Author: mdoering@gbif.org
Comment: close as invalid?
Created: 2014-01-09 14:06:29.092
Updated: 2014-01-09 14:06:29.092
Author: kbraak@gbif.org
Comment: Thanks. Closing as invalid then, since this is expected behavior.
Created: 2014-01-09 14:14:48.355
Updated: 2014-01-09 14:14:48.355