[okular] [Bug 474661] Norwegian withholding tax form - wrong calculation of percent value

Volker Krause bugzilla_noreply at kde.org
Tue Sep 26 18:23:12 BST 2023


https://bugs.kde.org/show_bug.cgi?id=474661

Volker Krause <vkrause at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vkrause at kde.org

--- Comment #2 from Volker Krause <vkrause at kde.org> ---
This seems to happen only in locales with a comma as decimal separator. It
breaks when the string "33.335" is passed to JSUtil::stringToNumber(), which
results in the number 33335 in a locale with a comma decimal separator, rather
than the expected 33.335, ie. this happens for numbers where the conversion is
ambiguous between different locales.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list