From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: how to force org-mode to interpret number as string Date: Thu, 06 Mar 2014 10:14:08 -0700 Message-ID: <87lhwnug5t.fsf@gmail.com> References: <87siqx9um0.fsf@mars.lan> <871tygptqa.fsf@bzg.ath.cx> <87ha7c9xdn.fsf@mars.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLgcM-0000uh-0X for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 17:18:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLgcH-0005bV-SA for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 17:18:17 -0500 Received: from mail-pb0-x22f.google.com ([2607:f8b0:400e:c01::22f]:51648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLgcH-0005bH-Kf for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 17:18:13 -0500 Received: by mail-pb0-f47.google.com with SMTP id up15so3225592pbc.6 for ; Thu, 06 Mar 2014 14:18:12 -0800 (PST) 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: Stefan Huchler Cc: emacs-orgmode@gnu.org Stefan Huchler writes: > Bastien writes: > >> Hi Stefan, >> >> Stefan Huchler writes: >> >>> The Problem is that that org-mode seems to auto-format the salary column >>> as a number. >> >> That a problem here, but I guess this is handy in many circumstances. >> >> Why don't use just turn the number into a string in your code? > > if I could do that, without loosing the numbers behind the point I would > be ok with that, but I dont want a fixed system for 1 table, but for a > random table. > I think that for this to work you may have to abandon using "." as your numerical thousands separator. Or customize string-to-number and org-babel-number-p to fit your number syntax. Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D