[kcalc] [Bug 500784] kcalc allows to input multiple decimal points
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Wed Feb 26 21:18:12 GMT 2025
https://bugs.kde.org/show_bug.cgi?id=500784
minelorderagon16 at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REPORTED |CONFIRMED
Ever confirmed|0 |1
CC| |minelorderagon16 at gmail.com
--- Comment #2 from minelorderagon16 at gmail.com ---
(In reply to Imron from comment #0)
> 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
Was able to replicate on my system. Will mark as confirmed. there are
instructions for contributing to KDE on the website, under the "Get Involved"
button in the top bar.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list