From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: org-table: decimal numbers with a dot at the end: for example 10. Date: Wed, 24 Jun 2015 11:34:59 +0200 Message-ID: <20150624113459.5113a343@pckr150.mpip-mainz.mpg.de> References: <87bng5wm5o.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7h5J-0006uD-Al for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 05:35:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7h5D-0001sk-2t for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 05:35:09 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:59269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7h5C-0001oH-M8 for emacs-orgmode@gnu.org; Wed, 24 Jun 2015 05:35:03 -0400 In-Reply-To: <87bng5wm5o.fsf@mat.ucm.es> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Uwe Brauer Cc: emacs-orgmode@gnu.org Hello, On Wed, 24 Jun 2015 10:22:43 +0200 Uwe Brauer wrote: >=20 > Hello=20 >=20 > Take the following example=20 >=20 > | Apellido | Nombre | E1 | E2 | E3 | E4 | E5 | E6 | E7 | E8 | > E9 | E10 | E11 | Res | > |----------+--------+-----+-----+----+-----+-----+-----+----+----+-----+-= ----+-----+-----| > | Brauer | | 1.5 | 0.5 | 1 | 0.5 | 0.5 | 0.5 | 1 | 1 | > 0.5 | 1 | 2 | 10. | #+TBLFM: > $14=3D$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13 >=20 >=20 > The result is 10. >=20 > Instead of 10 >=20 > How can I get rid of the =AB.=BB at the end of the number? you can put a format in the tblfm line, e.g.: #+TBLFM: $14=3D$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13;%.0f However, this cuts any numbers at the dot, that is a 10.5 would be displayed as 10. If you can live with a 10.0 use %.1f instead of %.0f after the semicolon. Best regards Robert