Project

General

Profile

Actions

Defect #6182

closed

Localized decimal numbers

Added by Petr Pospisil over 13 years ago. Updated 4 months ago.

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

Related to Redmine - Feature #8079: Support localized digitsNew2011-04-05

Actions
Related to Redmine - Feature #22024: Support localized decimal separators for float valuesClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF