https://bugs.kde.org/show_bug.cgi?id=496412
Bug ID: 496412
Summary: Entering large numbers, unexpected behaviour
Classification: Applications
Product: kcalc
Version: 24.08.2
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 175907
--> https://bugs.kde.org/attachment.cgi?id=175907&action=edit
screenshot of the calculator
SUMMARY
I expected the x*10^y button works like in other calculators the EXP Button to
enter the exponent of a number like
2e6. Without am EXP button or an equvalent it is error prone to enter big or
small numbers like 2e-7.
Using the kcalc x*10^y button I get something like this 2*10^6, typically a
calculator uses 2e6 which is (2*10^6). The display of the number in kcalc (see
screenshot) suggests that it is an alternative to the 2e6 representation. If
this number ends up in a divisor one gets a huge error.
Kcalc uses anyhow this kind of number representation for its results.
In kcalc it works like this:
1/2 * 10^6 = 500000
I would like to have
1/2e6 = 2e-7
STEPS TO REPRODUCE
1. Enter: 1
2. /
3. 2
4. Press the button: x*10^y
5. 6
6. =
OBSERVED RESULT
500000
EXPECTED RESULT
5e-7
SOFTWARE/OS VERSIONS
Linux 6.11.5-2-default (64-bit)
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
--
You are receiving this mail because:
You are watching all bug changes.