From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: org-spreadsheet: formatting chops off units Date: Thu, 6 Sep 2012 07:15:33 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9URD-0006MK-Tb for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 01:15:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9URD-00074A-4m for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 01:15:35 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:53523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9URC-00073w-SS for emacs-orgmode@gnu.org; Thu, 06 Sep 2012 01:15:35 -0400 Received: by lahd3 with SMTP id d3so918937lah.0 for ; Wed, 05 Sep 2012 22:15:33 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kyle Andrews Cc: Emacs orgmode Hi Kyle On Wed, Sep 5, 2012 at 11:46 PM, Kyle Andrews wrote: > If you type in '0.66138679 lb into calc directly, and press d f 2, calc > displays 0.66 lb as desired. Is there any reason for the %.2f notation > chops off the units? Is there some better way to accomplish what I > want? Org spreadsheet gives access to the format of calc, use #+TBLFM: $2=uconvert($1, lb);f-2 or less recommended the format of Org spreadsheet with a text #+TBLFM: $2=uconvert($1, lb);%.2f lb Michael