unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Roland Winkler <winkler@gnu.org>
Cc: 15859@debbugs.gnu.org
Subject: bug#15859: 24.3.50; Calc - dimensionless units again
Date: Fri, 21 Apr 2023 16:25:52 +0200	[thread overview]
Message-ID: <87cz3xjor3.fsf@web.de> (raw)
In-Reply-To: <21120.6201.687671.227593@gargle.gargle.HOWL> (Roland Winkler's message of "Sun, 10 Nov 2013 17:35:21 -0600")

Hello Roland,

> [...]
> just want to convert "7 m / (c s)" into something equal to this
> expression.]
>
> Now for the new unit:
>
> (1) If I want to convert "7 m / (c s)" to a plain number, I enter "1",
>     but then Calc throws an error "No units specified".
>     The correct result would be 2.33e-8.
>
> (2) If one wants to convert to the new unit "in / (c hr)" the result
>     returned by calc-convert-units is 2.33e-8, that is, the plain
>     number which would have been the correct result for (1).
>     The new unit "in / (c hr)" is ignored by calc-convert-units.
>     The correct result would be "992125.98 in / (c hr)".

I found that u n (`calc-convert-exact-units') is exactly doing that.
Maybe you are more fortunate with that command - or even used it in the
past?

TIA,
Michael.





  parent reply	other threads:[~2023-04-21 14:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-10 23:35 bug#15859: 24.3.50; Calc - dimensionless units again Roland Winkler
2020-11-22 15:13 ` Michael Heerdegen
2020-11-23 15:13   ` Roland Winkler
2020-11-24  1:00     ` Michael Heerdegen
2020-11-24 23:37       ` Michael Heerdegen
2021-09-06  9:40         ` Lars Ingebrigtsen
2021-09-17  1:45           ` Michael Heerdegen
2023-04-14 15:12 ` Michael Heerdegen
2023-04-17  4:47   ` Roland Winkler
2023-04-17 14:04     ` Michael Heerdegen
2023-04-17 15:20       ` Roland Winkler
2023-04-18 23:07         ` Michael Heerdegen
2023-04-25  3:44           ` Roland Winkler
2023-04-21 14:25 ` Michael Heerdegen [this message]
2023-04-25  3:44   ` Roland Winkler

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87cz3xjor3.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=15859@debbugs.gnu.org \
    --cc=winkler@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).