From: Levin <zslevin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Feature Request: Number format on sum of property
Date: Thu, 25 Oct 2007 11:59:14 +0800 [thread overview]
Message-ID: <200710251159.14646.zslevin@gmail.com> (raw)
Currently I'm using org-mode to manage my financial tables. The columnview is
absolutely great on this:
------------8<------------------8<------------
* org-balance
:PROPERTIES:
:COLUMNS: %30ITEM %20balance(Book Balance){+} %20uncleared(Uncleared)
{+} %20bank(Bank Balance){+}
:END:
#+BEGIN: columnview :hlines 1 :id local
| ITEM | Book Balance | Uncleared | Bank Balance |
|---------------------+--------------------+-----------+--------------------|
| * org-balance | 244.85000000000002 | 0.0 | 244.85000000000002 |
| ** housing | -150.0 | 0.0 | -150.0 |
| *** Parking | -150.00 | 0.00 | -150.00 |
| ** communication | 394.85 | 0.0 | 394.85 |
| *** wang tong | 160.00 | 0.00 | 160.00 |
| *** xiao ling tone | 103.00 | 0.00 | 103.00 |
| *** shen zhou xing | 131.85 | 0.00 | 131.85 |
#+END
------------8<------------------8<------------
However, you might notice that the float number is not correctly formatted.
May I have some magic cookie in COLUMNS format to specify it? Something like
"%20balance(Book Balance){+}[%.2f]" ?
Thanks.
Levin
next reply other threads:[~2007-10-25 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-25 3:59 Levin [this message]
2007-10-25 5:30 ` Feature Request: Number format on sum of property Carsten Dominik
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=200710251159.14646.zslevin@gmail.com \
--to=zslevin@gmail.com \
--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).