emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug in vsum in org-mode table?


From: Charles Millar
Subject: Re: [O] Bug in vsum in org-mode table?
Date: Sun, 24 Apr 2016 12:41:36 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0



On 04/22/2016 06:12 PM, Thierry Banel wrote:
Le 22/04/2016 22:10, Charles Millar a écrit :

On 04/22/2016 03:34 PM, Thierry Banel wrote:
You can format the result as 2.0 with the f1 modifier
(or f5 to get 2.00000 and so on)

#+TBLFM: @>$1=vsum(@2..@>>);f1

In the manual the decimal format %.2f, etc. is shown as an example but apparently the f2 format is not mentioned.

Is the %.Xf format preferred or is either one OK?

Regards,

Charlie Millar 

%.2f is handy for those who are used to printf() syntax (in the C language).
But Calc unlimited precision numbers are converted to double floats before applying %.2f
Whereas f2 operates on Calc numbers without conversion.
Thank you, Thierry.



reply via email to

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