emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Marc-Oliver Ihm <ihm@online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel: feature-request: allow table-cells to be passed as strings
Date: Mon, 04 Oct 2010 07:30:09 -0600	[thread overview]
Message-ID: <8739sm9jby.fsf@gmail.com> (raw)
In-Reply-To: <i8ailu$usa$1@dough.gmane.org> (Marc-Oliver Ihm's message of "Sun, 03 Oct 2010 20:39:54 +0200")

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 <ihm@online.de> 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

  reply	other threads:[~2010-10-04 13:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 18:39 org-babel: feature-request: allow table-cells to be passed as strings Marc-Oliver Ihm
2010-10-04 13:30 ` Eric Schulte [this message]
2010-10-04 19:05   ` Marc-Oliver Ihm
2010-11-03 20:12     ` Eric Schulte
2010-11-04  7:23       ` Antwort: " marc-oliver.ihm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739sm9jby.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ihm@online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).