[Top][All Lists]

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

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

From: Thierry Banel
Subject: Re: [O] Bug in vsum in org-mode table?
Date: Sat, 23 Apr 2016 00:12:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

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?


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.

reply via email to

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