Bug 8243

Summary: kcal cannot use decimal numbers
Product: Mageia Reporter: Pierre Jarillon <jarillon>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: juergen.harms, vit.brezina
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kcalc CVE:
Status comment:

Description Pierre Jarillon 2012-11-29 15:09:38 CET
Description of problem:

Type 33.1 + (or any other operation) it displays nan (not a number).
I guess that it is a problem of locale french  because dot is displayed comma. And 33,1 is not a number with english convention.
Comment 1 Pierre Jarillon 2012-11-29 15:28:52 CET
I confirm: $ LC_NUMERIC=C kcalc works fine.
kcalc cannot work with LC_NUMERIC=fr_FR.UTF-8
Comment 2 Remco Rijnders 2012-11-29 20:14:57 CET
@Pierre, thank you for your report

@neoclust: Is this something you can look at? I did a quick google, but did not find an upstream bug report for this right away.

Assignee: bugsquad => nicolas.lecureuil

Comment 3 Nicolas Lécureuil 2012-12-01 03:03:48 CET
bug confirmed here
Comment 4 Juergen Harms 2012-12-14 23:24:27 CET
Also confirmed for german.

CC: (none) => juergen.harms

Comment 5 Vit Brezina 2012-12-29 20:59:04 CET
Also confirmed for Czech

CC: (none) => vit.brezina

Comment 6 Luc Menut 2013-01-05 17:57:00 CET
Fixed with kcalc-4.9.95.

regards,
Luc

Status: NEW => RESOLVED
Hardware: x86_64 => All
Resolution: (none) => FIXED
Source RPM: (none) => kcalc

Comment 7 Pierre Jarillon 2013-01-06 02:43:46 CET
Not completely fixed. Please, look at Bug 8603

kcal cannot use its constants when decimal separator is not a dot.