Actions
Defect #6182
closedLocalized decimal numbers
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
I18n
Target version:
-
Start date:
2010-08-20
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Affected version:
Description
Hi, how do I adjust the settings so I can enter localized decimal numbers to custom fields? I cannot find something to change decimal point to decimal comma. The "number.human.format.*" in the locals has effect only to show form (included in helpers - number_to_currency etc.). If you are adding a new numbers the english format is forced.
I have founded http://github.com/clemens/delocalize or http://gem-session.com/2010/03/how-to-use-the-comma-as-decimal-separator-in-rails-activerecord-columns-and-text-fields, but pulling a cat's tail seems to be better fun :-).
Thanks for a reply.
Regards
Petr
Related issues
Updated by Jean-Philippe Lang about 14 years ago
- Category changed from Translations to I18n
Updated by Etienne Massip over 13 years ago
- Target version set to Candidate for next major release
Updated by Herman Suszkewciz over 8 years ago
I did it.
Workaround with Custom JS Plugin and example JS http://www.redmine.org/boards/4/topics/44418
Updated by Go MAEDA 12 months ago
- Related to Feature #22024: Support localized decimal separators for float values added
Actions