From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Banel Subject: Re: Bug in vsum in org-mode table? Date: Fri, 22 Apr 2016 21:34:37 +0200 Message-ID: <571A7CCD.5050403@free.fr> References: Mime-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atgqj-0002wD-Jd for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 15:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atgqe-0003dp-Kb for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 15:34:45 -0400 Received: from smtp6-g21.free.fr ([212.27.42.6]:19302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atgqe-0003dQ-DD for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 15:34:40 -0400 Received: from [IPv6:2a01:e35:2e21:def0:14cd:8e14:62e8:eee6] (unknown [IPv6:2a01:e35:2e21:def0:14cd:8e14:62e8:eee6]) by smtp6-g21.free.fr (Postfix) with ESMTP id 3136D7802E5 for ; Fri, 22 Apr 2016 17:47:02 +0200 (CEST) In-Reply-To: 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
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<= br>

Le 22/04/2016 21:00, Kaushal Modi a =C3=A9crit=C2=A0:
Hi,

The vsum is putting a sum as "2." instead of "2.0". Here is a simple example:

|-------|
| Title |
|-------|
| 0.5 |
| 1.5 |
|-------|
| 2. |
|-------|
#+TBLFM: @>$1=3Dvsum(@2..@>>)

Org-mode version 8.3.4 (release_8.3.4-748-g7e320e @ /home/kmodi/usr_local/apps/6/emacs/emacs-25/share/emacs/site-lisp= /org/)

Is anyone else able to recreate this?

Thanks.

Kaushal
--

--
Kaushal Modi