[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-tables with monetary amounts
From: |
Russell Adams |
Subject: |
Re: org-tables with monetary amounts |
Date: |
Wed, 23 Sep 2020 11:37:43 +0200 |
I often use this for summing columns.
| Column | Column |
|--------+--------|
| a | 1.2 |
| b | 3 |
| c | 4.56 |
|--------+--------|
| | 8.76 |
#+TBLFM: @>$2=vsum(@-I..@-II);%0.2f
This does last row (@>$2), and the sum between dividers, and outputs
to fixed precision.
On Tue, Sep 22, 2020 at 04:57:42PM +0200, Daniele Nicolodi wrote:
> Hello,
>
> I often use org-tables to work with monetary amounts. It would be very
> nice to have a couple of functionalities common in this domain:
>
> - fixed precision arithmetic, namely derive the precision of the results
> from the precision of the arguments (I think that calc can do this),
>
> - support for parsing numbers followed by currencies,
>
> - correct alignment for monetary values.
>
> I had a quick look around, but I haven't found anything that implements
> those things. Has anyone some secret code that they would like to share?
>
> Thank you!
>
> Cheers,
> Dan
>
------------------------------------------------------------------
Russell Adams RLAdams@AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
- org-tables with monetary amounts, Daniele Nicolodi, 2020/09/22
- Re: org-tables with monetary amounts, Nicholas Savage, 2020/09/22
- Re: org-tables with monetary amounts,
Russell Adams <=
- Re: org-tables with monetary amounts, Eric S Fraga, 2020/09/23
- Re: org-tables with monetary amounts, Nick Dokos, 2020/09/23
- Re: org-tables with monetary amounts, Christian Moe, 2020/09/24
- Re: org-tables with monetary amounts, Neil Jerram, 2020/09/25