From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: getting calc-units working in table formulas Date: Wed, 17 Dec 2014 07:39:52 +0100 Message-ID: References: <87oar4ql5t.fsf@ericabrahamsen.net> <87egrznl9e.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y18H5-000240-FV for emacs-orgmode@gnu.org; Wed, 17 Dec 2014 01:39:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y18H2-0003ia-OF for emacs-orgmode@gnu.org; Wed, 17 Dec 2014 01:39:55 -0500 Received: from mail-qa0-x22a.google.com ([2607:f8b0:400d:c00::22a]:56395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y18H2-0003iW-JY for emacs-orgmode@gnu.org; Wed, 17 Dec 2014 01:39:52 -0500 Received: by mail-qa0-f42.google.com with SMTP id n4so4414961qaq.1 for ; Tue, 16 Dec 2014 22:39:52 -0800 (PST) In-Reply-To: <87egrznl9e.fsf@ericabrahamsen.net> 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: Eric Abrahamsen Cc: Org Mode Hi Eric On Wed, Dec 17, 2014 at 2:09 AM, Eric Abrahamsen wrote: > Lastly, is there a way to both use output formatting, and retain the > unit name (if desired)? Right now I get this: > > | km | units | conversion | > |-------+-------+------------| > | 2.5km | ft | 8202.10 | > #+TBLFM: $3=uconvert($1, $2); %.2f > > Ie, the "ft" falls off the results when I add the "%.2f". Is it possible > to retain that and have formatting? Yes, see "org-spreadsheet: formatting chops off units" http://thread.gmane.org/gmane.emacs.orgmode/59928 Michael