emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manfred Lotz <manfred.lotz@arcor.de>
To: emacs-orgmode@gnu.org
Subject: Tbl: precision for cells
Date: Fri, 17 May 2013 22:18:08 +0200	[thread overview]
Message-ID: <20130517221808.55421732@arcor.com> (raw)

I have a table like this

| Item                     |    F1  |       F2 |       F3 |
|--------------------------+--------+----------+----------|
| w                        | 579.12 | 110.0328 | 689.1528 |
| x                        |   28.8 |    5.472 |   34.272 |
| y                        |   13.2 |    2.508 |   15.708 |
| z                        |    24. |     4.56 |    28.56 |
|--------------------------+--------+----------+----------|
| Sum                      | 513.12 |  97.4928 | 610.6128 |

As the numeric fields are currency fields could I specify somehow for
the whole table that there are exactly 2 decimals after the dot?


So that I have this:
| Item                     |    F1  |       F2 |       F3 |
|--------------------------+--------+----------+----------|
| w                        | 579.12 |   110.03 |   689.15 |
| x                        |  28.80 |     5.47 |    34.27 |
| y                        |  13.20 |     2.51 |    15.71 |
| z                        |  24.00 |     4.56 |    28.56 |
|--------------------------+--------+----------+----------|
| Sum                      | 513.12 |    97.49 |   610.61 |


-- 
Thanks,
Manfred

             reply	other threads:[~2013-05-17 20:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-17 20:18 Manfred Lotz [this message]
2013-05-18 15:07 ` Tbl: precision for cells Suvayu Ali
2013-05-19  4:11   ` Manfred Lotz
2013-05-19 14:05     ` Suvayu Ali
2013-05-20 14:28       ` Darlan Cavalcante Moreira

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=20130517221808.55421732@arcor.com \
    --to=manfred.lotz@arcor.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).