emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rainer Thiel" <r.thiel@uni-jena.de>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: decimal fractions when summing up large numbers
Date: Wed, 24 Sep 2008 17:15:59 +0200	[thread overview]
Message-ID: <d6b6c7740809240815t2987d251sc28cedba57409ff7@mail.gmail.com> (raw)

I have a problem I am confident there is a solution to.  I even
suspect it may be explained in the manual, but can't for the life of
me find it:

Summing up small numbers in tables isn't a problem even when they have
digits after the decimal point.  For example, org-table-sum applied on
the table

| 10000.7 |
| 10000.5 |
| 10000.3 |

correctly gives 30001.5.  On the other hand, applied on the table

| 100000.7 |
| 100000.5 |
| 100000.3 |

org-table-sum gives 300002, the correctly rounded value of 300001.5,
which would be the exact value.

How can I make org-table-sum deliver the exact value?

If this is explained in the manual, please point me to the relevant section.

Many thanks in advance

Rainer
-- 
Prof. Dr. Rainer Thiel
Institut für Altertumswissenschaften
07737 Jena, Germany (EU)
r.thiel@uni-jena.de

             reply	other threads:[~2008-09-24 15:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 15:15 Rainer Thiel [this message]
2008-09-24 15:38 ` decimal fractions when summing up large numbers Carsten Dominik
2008-09-24 15:49   ` Bernt Hansen

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.orgmode.org/

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

  git send-email \
    --in-reply-to=d6b6c7740809240815t2987d251sc28cedba57409ff7@mail.gmail.com \
    --to=r.thiel@uni-jena.de \
    --cc=emacs-orgmode@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/org-mode.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).