From: James Hawley <yelwah1@comcast.net>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Rounding in org-mode tables
Date: Thu, 30 Aug 2007 21:49:44 -0400 [thread overview]
Message-ID: <1d8d6569e393aacf8380f89236a9db27@comcast.net> (raw)
In-Reply-To: <ad094edefba60c2a29ef698c52feb378@science.uva.nl>
Carsten,
Many Thanks for your rapid response - your suggestion worked and your
caution was helpful as well (e.g., using f7 showed 3 additional zeros).
For anyone reading the list that might be interested, here's how I
fixed the example to get the two digits to the right of the decimal to
print correctly.
Original table and formula
935.15
6483.80
7419.00
#+TBLFM: @16$4=vsum(@3$4..@4$4);%.2f Original formula yields 7419.00
Fixed table and formula
935.15
6483.80
7419.00
#+TBLFM: @16$4=vsum(@3$4..@4$4);f6%.2f Revised formula yields 7418.95
^^
added formatting
Jim
prev parent reply other threads:[~2007-08-31 1:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-26 2:00 Rounding in org-mode tables James Hawley
2007-08-26 18:25 ` Carsten Dominik
2007-08-31 1:49 ` James Hawley [this message]
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=1d8d6569e393aacf8380f89236a9db27@comcast.net \
--to=yelwah1@comcast.net \
--cc=dominik@science.uva.nl \
--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).