From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: Re: Bug in vsum in org-mode table? Date: Fri, 22 Apr 2016 16:10:19 -0400 Message-ID: <3e95f54e-9e99-f579-748e-6d593018b39a@verizon.net> References: <571A7CCD.5050403@free.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary_(ID_rxoLlTPWt3+sfk5eWwFr5w)" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1athPw-0002eH-Od for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 16:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1athPn-0005lt-Cz for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 16:11:04 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:45099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1athPn-0005ic-8a for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 16:10:59 -0400 Received: from vz-proxy-l002.mx.aol.com ([64.236.82.148]) by vms173015.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O6100GQEXD9CK30@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 15:10:21 -0500 (CDT) In-reply-to: <571A7CCD.5050403@free.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --Boundary_(ID_rxoLlTPWt3+sfk5eWwFr5w) Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: QUOTED-PRINTABLE 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=3Dvsum(@2..@>>)*;f1* > In the manual the decimal format %.2f, etc. is shown as an example bu= t=20 apparently the f2 format is not mentioned. Is the %.Xf format preferred or is either one OK? Regards, Charlie Millar --Boundary_(ID_rxoLlTPWt3+sfk5eWwFr5w) Content-type: text/html; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE
On 04/22/2016 03:34 PM, Thierry Ba= nel wrote:
You can format the result as = 2.0 with the f1 modifier
(or f5 to get 2.00000 and so on)

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

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

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

Regards,

Charlie Millar=C2=A0
--Boundary_(ID_rxoLlTPWt3+sfk5eWwFr5w)--