This looks like Bug 8243 : kcal cannot use decimal numbers https://bugs.mageia.org/show_bug.cgi?id=8243 The constants cannot be displayed: nan (Not A Number). With $ LC_ALL=C kcalc the constants are displayed $ LC_NUMERIC=C kcalc works fine with constants. kcalc cannot use its constants with LC_NUMERIC=fr_FR.UTF-8 IMO it is also true with german and Czech...
CC: (none) => lmenutSource RPM: (none) => kcalc
Can you check that you're using the dot as the decimal separator in System Settings/Locale/Country Region/Numbers ?
CC: (none) => balcaen.john
I use Mageia 3 beta 1 updated. In scientific mode, when I call any constant, such as Pi or Euler ou Planck constant, le value is "nan". This is the same bug than Bug 8243 and kcalc has not been fully tested.
Can you answer comment #1 ?
In KDE center, the country is France. The separator for numbers is a , (copied & pasted) a comma.
Switching it to a dot should fix your error.
CC: (none) => nicolas.lecureuil
This not *MY* error. This is a bug. I use the default locales FR set up by Mageia. Making an hybrid system to solve a bug of kcalc is not a solution. Read carefully Bug 8243 please.
By «your» error i did not mean to offense you at all, but to workaround the bug. Since it's a kcal bug you can report it upstream.
Possible upstream bug report: https://bugs.kde.org/show_bug.cgi?id=312504
CC: (none) => yurchor
Also reported in https://bugs.kde.org/process_bug.cgi
comment #9: can you give the good link for the bugreport ?
The bug is fixed in KDE 4.10 RC1 (tested self-compiled version, Ukrainian locale, comma decimal separator). Both bug reports where Pierre added his comments closed as RESOLVED FIXED (and it is ;) ): https://bugs.kde.org/show_bug.cgi?id=312504 https://bugs.kde.org/show_bug.cgi?id=200294
Status: NEW => RESOLVEDResolution: (none) => FIXED