From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: rounding (up) Date: Thu, 22 Jun 2017 07:28:49 +0000 Message-ID: <87o9tglbv2.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNwZD-0000sY-Hr for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 03:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNwZ8-00036m-J4 for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 03:30:15 -0400 Received: from [195.159.176.226] (port=47006 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNwZ8-00036F-BC for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 03:30:10 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dNwZ1-0001Zt-C9 for emacs-orgmode@gnu.org; Thu, 22 Jun 2017 09:30:03 +0200 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 Hi It seems that org-table (and the underlying calc implementation) round down not up. Please consider | 3.25 | 0.4875 | | 6.5 | 0.975 | #+TBLFM: $2=$1*0.15; | 3.25 | 0.49 | | 6.5 | 0.97 | #+TBLFM: $2=$1*0.15;%.2f Is there a way to obtain | 3.25 | 0.49 | | 6.5 | 0.98 | #+TBLFM: $2=$1*0.15;%.2f That is to replace rounding down to rounding up? Thanks Uwe Brauer