all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Two short questions about calc
Date: Tue, 8 Sep 2020 09:52:14 +0200	[thread overview]
Message-ID: <20200908075214.GD10609@tuxteam.de> (raw)
In-Reply-To: <87y2lltcb2.fsf@web.de>

[-- Attachment #1: Type: text/plain, Size: 735 bytes --]

On Tue, Sep 08, 2020 at 01:08:33AM +0200, Michael Heerdegen wrote:
> Hi,
> 
> I've now decided to learn a bit more about Calc so I can use it as my
> daily calculator.  Now I have these two questions:
> 
> (1) In my init file I set calc-symbolic-mode -> t and calc-prefer-frac >
> t because I prefer that most of the time.

This cribbed from the Calc manual:

   The ‘c f’ (‘calc-float’) [‘pfloat’] command converts the number
   on the top of the stack to floating-point form.  For example,
   ‘23’ is converted to ‘23.0’, ‘3:2’ is converted to ‘1.5’, and
   ‘2.3’ is left the same.

...if you don't mind losing precision. If you do, then (1) was a trick
question ;-)

Cheers
 - t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2020-09-08  7:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 23:08 Two short questions about calc Michael Heerdegen
2020-09-08  2:26 ` Stefan Monnier
2020-09-30 23:52   ` Michael Heerdegen
2020-10-01  3:31     ` Stefan Monnier
2020-10-01  3:41       ` Michael Heerdegen
2020-09-08  7:52 ` tomas [this message]
2020-09-11 21:13   ` Michael Heerdegen
2020-10-09  2:00 ` Another question about Calc (was: Two short questions about calc) Michael Heerdegen
2020-10-09 13:19   ` Another question about Calc Stefan Monnier
2020-10-10  6:39     ` Michael Heerdegen

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=20200908075214.GD10609@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.