Bug 349740

Summary: kcalc panel application shows wrong decimal
Product: [Unmaintained] kdeplasma-addons Reporter: Robert KOFLER <KDE.Bug.Tracking.System>
Component: calculatorAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: justin.zobel
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Robert KOFLER 2015-06-30 08:29:29 UTC
6*1.2 shows 7.1999999999 instead of 7.1

unfortunately I cannot provide further information as there is NO because this is a üanel applet.
KCalc (don't know if this depends on KCalc)
Version 2.13
Using KDE Frameworks 5.9.0

Reproducible: Always

Steps to Reproduce:
1. enter: 6*1.2 =
2. shows 7.1999999999 instead of 7.1
3.

Actual Results:  
7.1999999999 i

Expected Results:  
7.2

KCalc (don't know if this depends on KCalc)
Version 2.13
Using KDE Frameworks 5.9.0
Comment 1 Robert KOFLER 2015-06-30 08:30:27 UTC
please enter additional button for "about" functionality
Comment 2 Evan Teran 2015-06-30 14:20:03 UTC
In the settings for Precision. Can you tell me what the maximum number of digits is set to? Also if checked, what the decimal precision is set to.

I get 7.2 as the result on my end here, so I suspect it is a precision issue. Also, the expected value is 7.2, NOT 7.1.
Comment 3 Christoph Feck 2015-07-04 21:52:00 UTC
Robert is referring to the Plasma applet, not kcalc.
Comment 4 Justin Zobel 2020-11-12 09:15:20 UTC
I just added the calculator widget to the panel and ran the 6x1.2 and was provided with 7.2

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 5 Bug Janitor Service 2020-11-27 04:33:54 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2020-12-12 04:34:06 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!