]> 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)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Thu, 17 Aug 2023 15:56:13 +0000 (15:56 +0000)
commit27e207f9ed21e0fd1f4b497bf418c0f824dd6b1d
treee9de4eebc7e3ac1e8850230f56ad114d293438a3
parent20555d6d50f68a46ae719984b4a3031c1647b6cb
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>
(cherry picked from commit 84076285128d986f9a75c3135d40156248636420)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
installer/data/mysql/atomicupdate/fix_calc_fines_fr-currency_21-11-MT39815.pl