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

            Bug ID: 505748
           Summary: Wrong results on decimals when using es_PE.UTF-8
                    locale
    Classification: Applications
           Product: kcalc
      Version First 25.04.2
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: evan.te...@gmail.com
          Reporter: cesa...@gmail.com
                CC: gabriel.barrantes....@outlook.com
  Target Milestone: ---

SUMMARY

When using es_PE.UTF-8 locale kcalc produces wrong results when using decimal
values. 

STEPS TO REPRODUCE

1. Write 1.1 + 1.1
2. The result preview shows 2,2 (using a comma)
3. Pressing = (or enter) converts the result to 22

OBSERVED RESULT

The result of 1.1+1.1 is shown as 22

EXPECTED RESULT

The result must be 2.2

SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 28 × Intel® Core™ i7-14700
Memory: 31.1 GiB of RAM
Graphics Processor 1: NVIDIA GeForce RTX 4070 Ti SUPER/PCIe/SSE2

ADDITIONAL INFORMATION

As a workaround if i launch kcalc with LC_NUMERIC=C or LC_NUMERIC=en_US.UTF-8
it works correctly.

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

Reply via email to