From: Carsten Dominik <carsten.dominik@gmail.com>
To: Levin <zslevin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Feature Request: Number format on sum of property
Date: Thu, 25 Oct 2007 07:30:34 +0200 [thread overview]
Message-ID: <1D058208-4DD2-4CBE-B03D-FA0AFF70E5F9@science.uva.nl> (raw)
In-Reply-To: <200710251159.14646.zslevin@gmail.com>
Hi Levin,
in principle a good idea, only I don't know why it is necessary in
this case.
I guess you are just adding numbers here? So I don't understand
where the error
comes from. Could you post a fully expanded outline
with all the properties visible?
Thanks.
- Carsten
On Oct 25, 2007, at 5:59 AM, Levin wrote:
> 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
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2007-10-25 5:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-25 3:59 Feature Request: Number format on sum of property Levin
2007-10-25 5:30 ` Carsten Dominik [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=1D058208-4DD2-4CBE-B03D-FA0AFF70E5F9@science.uva.nl \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=zslevin@gmail.com \
/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).