[Koha-bugs] [Bug 14541] Tax rate should not be forced to an arbitrary precision

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 7 17:17:46 CET 2016


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

--- Comment #17 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Nick Clemens from comment #16)
> This works, one issue is that the pref allows you to enter any number of
> decimals. These are then displayed in full on the dropdowns, however, they
> are saved into the db truncated.
> 
> Example:
> 
> In gist preference: .12345
> 
> Shows in dropdowns as: 12.345%
> 
> Saves to db as: .1235
> 
> Shows in order/basket tables as: 12.35%
> 
> 
> We should either truncate the dropdowns or add a warning in the system
> preference

The database is limited to 4 digits of precision. I think for the time being a
warning on the system preference should be sufficient. I *do* think the
order/basket tables should show 12.345%. We should not be rounding where we
don't need to.

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


More information about the Koha-bugs mailing list