xcalc comma doesn't work properly under de_DE.UTF-8

jaakov jaakov jaakov@ro.ru
Sat Feb 1 13:26:00 GMT 2014


Package: xcalc
Version: 1.0.5

Problem: Input digits after the decimal separator (comma in German) are ignored for computation.
Steps to reproduce:
A. Make sure that the LANG shell variable is set to "de_DE.UTF-8" .
B. Start xcalc from the shell.
C. Using mouse, press the following screen buttons in the xcalc window:
 1
 .
 1
 x^2
D. Observe that the result is 1, which is wrong, since the square of 1.1 is 1.21.

If in step A the LANG would be set to, say, "en", the result would be a correct 1.21.
If in step A we keep the German locale but in step C we would press pi, and then x^2, the after-dot-digits would be considered again.

Please fix the bug!

Best regards,

Jaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list