]> git.koha-community.org Git - koha.git/commit
Bug 33028: (follow-up) Fix trailing 0 decimals
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 Mar 2023 11:33:46 +0000 (11:33 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 8 Aug 2023 06:04:14 +0000 (20:04 -1000)
commit84076285128d986f9a75c3135d40156248636420
tree8ae9297a8299436310e9efecc373f8813ba5b4d3
parent4a8fdaee6695c576966ddfa78262ae4f8da10651
Bug 33028: (follow-up) Fix trailing 0 decimals

We want to recognise the truthyness of a number vs string so we drop
trailing decimals if they're just 0.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 598970a1223b9af043b1977965322758565f7d06)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/atomicupdate/fix_calc_fines_fr-currency_21-11-MT39815.pl