Project

General

Profile

Custom field comma instead of decimal point

Added by Torben Junker about 7 years ago

Hi everyone,

Is it possible to create a Custom field in which the numbers are separated by a comma and not by a dot?

123,50 instead of 123.50

I tried it with this Regular Expression but it did not work:

^\d+([\,]\d+)*([\,]\d+)?$

Anybody got a tip for me?

Thank you!
Regards
Torben

Environment:
Redmine version 3.3.2.stable
Ruby version 2.3.0-p0 (2015-12-25) [x86_64-linux]
Rails version 4.2.7.1
Environment production
Database adapter PostgreSQL