public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "jaakov jaakov" <jaakov@ro.ru>
To: cygwin@cygwin.com
Subject: xcalc comma doesn't work properly under de_DE.UTF-8
Date: Sat, 01 Feb 2014 13:26:00 -0000	[thread overview]
Message-ID: <1391261213.884324.4397.6260@mail.rambler.ru> (raw)


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

             reply	other threads:[~2014-02-01 13:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-01 13:26 jaakov jaakov [this message]
2014-02-01 15:07 ` Jon TURNEY
2014-02-01 18:40   ` jaakov jaakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1391261213.884324.4397.6260@mail.rambler.ru \
    --to=jaakov@ro.ru \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).