[Koha-bugs] [Bug 12310] Accept different monetary formats as input

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 12 11:25:32 CEST 2018


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

Victor Grousset/tuxayo <victor.grousset at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |In Discussion

--- Comment #68 from Victor Grousset/tuxayo <victor.grousset at biblibre.com> ---
(In reply to M. Tompsett from comment #67)
> Using DecimalSeparator as ',.', we should be able to enter #,###,###.## and
> get #######.## back.

There is a contradiction between DecimalSeparator=',.' and wishing to input
#,###,###.## and get #######.## back.

The current aimed functional behavior is to only accept thousands separators
when the DecimalSeparator syspref does not contain a thousands separator in it.
Because having a character that depending on the context can be either a
decimal sep or a thousands sep could easily create regressions in forgotten
edge cases.
And it will silently accept user mistakes leading to erroneous values being
processed. (e.g. input 5,123.12 instead of 5.123.12 or 5,123,12 when wanting to
input 512312)

We might want to try to be even more clever and flexible. Actually, handling
your case could be a nice addition. But if we do, can it be in a follow up bug?
^^"

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


More information about the Koha-bugs mailing list