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

            Bug ID: 500784
           Summary: kcalc allows to input multiple decimal points
    Classification: Applications
           Product: kcalc
           Version: 24.12.2
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: evan.te...@gmail.com
          Reporter: imraanbaro...@gmail.com
                CC: gabriel.barrantes....@outlook.com
  Target Milestone: ---

SUMMARY

I found out that in kcalc the multiple decimal points are permissible, even
though it is mathematically incorrect. It gives Syntax error when "123....1" is
inputted, however with "123.1.1.1" does some calculations.  I went over the
handbook for kcalc, however did not find any information behind this
calculation.

STEPS TO REPRODUCE
1. Open kcalc
2. input 123.1.1.1 (makes the input equal to 1.231) + 123.1.1.1

OBSERVED RESULT

Does some calculations, producing 2.462

EXPECTED RESULT

It should output input or syntax error. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: Sonoma 14.0
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 6.8.1

ADDITIONAL INFORMATION

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

Reply via email to