emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Feature Request: Number format on sum of property


From: Levin
Subject: [Orgmode] Feature Request: Number format on sum of property
Date: Thu, 25 Oct 2007 11:59:14 +0800
User-agent: KMail/1.9.7

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]