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

            Bug ID: 498903
           Summary: Import fails for numbers with more than 3 decimal
                    places
    Classification: Applications
           Product: skrooge
           Version: 25.1.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: steph...@mankowski.fr
          Reporter: k...@mockies.de
  Target Milestone: 25.1.0

Created attachment 177535
  --> https://bugs.kde.org/attachment.cgi?id=177535&action=edit
Stooq AYEM.DE imported values

SUMMARY
Adding values for a unit produces wrong results when there are more than two
decimal numbers. For example, adding "1,234" or "1.234" will result in a value
of "1234.000". This also happens when downloading values from a configured
source. To reproduce, use "Stooq" with the code "AYEM.DE" (see also attached
screenshot).

Adding numbers with only two decimal places, e.g. "1.23" or "1,23" works as
expected.

This also applies when manually adding transactions in an account using this
unit.

STEPS TO REPRODUCE
1. add a custom unit, e.g. "Test", configure 3 decimal numbers
2. use "values" to manually add a value
3. enter "1,234" as the amount and click "add"

OBSERVED RESULT
the value is added as "1234,00"

EXPECTED RESULT
the value should be "1,234"

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4460 CPU @ 3.20GHz
Memory: 14.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600

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

Reply via email to