From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-babel: feature-request: allow table-cells to be passed as strings Date: Mon, 04 Oct 2010 07:30:09 -0600 Message-ID: <8739sm9jby.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49732 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2lHP-0005Rb-QQ for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 09:40:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2l7S-0002D5-Sx for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 09:30:20 -0400 Received: from mail-iw0-f180.google.com ([209.85.214.180]:46375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2l7S-0002Co-Po for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 09:30:18 -0400 Received: by iwn8 with SMTP id 8so9669893iwn.39 for ; Mon, 04 Oct 2010 06:30:18 -0700 (PDT) In-Reply-To: (Marc-Oliver Ihm's message of "Sun, 03 Oct 2010 20:39:54 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marc-Oliver Ihm Cc: emacs-orgmode@gnu.org Hi, Could you send an example of the contents of such a cell, and what it is converted to? Maybe it will be possible to improve the parsing of numerals in Babel s.t. we don't lose precision in these cases. Thanks -- Eric Marc-Oliver Ihm writes: > Hello ! > > Currently org-babel, when passing a table as input to a > source-code-block, behaves like this: > If the cell looks like a number, it will be converted to an integer or a > float. Otherwise the cell-content is passed unconverted as a string. > > Now, dealing with very large numbers (which I want to process with > calc), I found this behavior annoying, because babel converts my large > numbers to float, loosing precision in the process. > > Now my request would be, to have a switch (maybe as a header argument) > which would tell babel to pass all cells as unconverted strings. > > I have checked the documentation and the sources and have not been able > to find such a switch. > > > with kind regards, Marc-Oliver Ihm > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode