[Koha-bugs] [Bug 33028] Wrongly formatted monetary amounts in circulation rules break scripts and calculations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 21 12:48:50 CEST 2023


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152443|0                           |1
        is obsolete|                            |

--- Comment #37 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 152511
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152511&action=edit
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 at ptfs-europe.com>

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


More information about the Koha-bugs mailing list