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.