[Koha-bugs] [Bug 12310] Decimal separators issues in patrons payments/fines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 2 15:06:21 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12310

--- Comment #111 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
-        - "Any of these characters can be used as a separator between integer
and decimal parts in the price fields. To work well with thousands separators
you must (usually) choose between dot and comma to avoid ambiguity. So
thousands separators come at the expense of handling both dots and commas. It
you want to format price output, please use the system preference
'CurrencyFormat'"
+        - "Any of these characters can be used as a separator between integer
and decimal parts in the decimal number fields that use the associated
normalizing/unformatting mechanism. To also use thousands separators you must
choose between dot and comma to avoid ambiguity. So using thousands separators
comes at the expense of handling both dots and commas as decimal separators.
This means reserving one character for decimal separation and another for
thousands separation. So you must not use characters from the DecimalSeparators
preference also as thousands separator. Also, if you want to format price
output, please use the system preference 'CurrencyFormat'"

The second description is imo too long. Let me try to suggest something
shorter:

Any of these characters can be used as a separator between integer and decimal
part of a price field. To avoid ambiguity, do not use the same characters as
thousands separator. Use pref CurrencyFormat to format price ouput.

=> Instead of the cryptic "fields that use the associated
normalizing/unformatting mechanism", you might add something like:

(This pref is currently used on the patron fines tab.)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list