]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 19 Jul 2023 15:06:39 +0000 (12:06 -0300)
commit598970a1223b9af043b1977965322758565f7d06
tree2ef9f8f161469a08e6121599ec3b254c5e80b960
parent2b48a948cbe7f14526e4ea8836e5175e38ab9d20
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>
installer/data/mysql/atomicupdate/fix_calc_fines_fr-currency_21-11-MT39815.pl