1 Jun
2021
1 Jun
'21
5:04 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21507 --- Comment #11 from Victor Grousset/tuxayo <victor@tuxayo.net> ---
2. Work backwards to find if we have decimal digits (i.e. 2 digits after either a comma or dot) 3. If we find a decimal delimiter, drop the opposit delimiter from the string (i.e. if we find a dot then drop any comma's.. if we find a comma, drop any dots)
This works thanks to relying on having two decimal digits right? No less, no more. Which is fine, it's already soooo hard as it is. This looks great, it seems to cover all of the cases and the logic is quite simple, amazing algorithm that your have found there!!!! -- You are receiving this mail because: You are watching all bug changes.