Bug 242849

Summary: krunner calculator does not respect locale setting for decimal marker
Product: [Plasma] krunner Reporter: m.wege
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mat69, ronnymichaelradke
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description m.wege 2010-06-26 09:45:55 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I have my locale set to German which also means the decimal marker is set to ",". When I use Krunner to calculate something which has a decimal marker "," in it, the part after the decimal marker is ignored. So when I try "5*1,2=" Krunner gives me "5" as a result.

Reproducible: Always




OS: Linux (i686) release 2.6.34-5-generic-pae
Compiler: cc
Comment 1 Ronny Radke 2010-11-11 11:12:32 UTC
not only when I type in a "," this is a problem, the result that is produced has also a localized decimal marker. So if I type:

=3/2 [enter] *2

I get: "= [1; 10]"
Comment 2 Matthias Fuchs 2010-12-05 20:39:26 UTC

*** This bug has been marked as a duplicate of bug 249357 ***