Re: [O] how to force org-mode to interpret number as string

2014-03-13 Thread Bastien
Stefan Huchler writes: > So to complete your solution, is there a way to wrap "" around of all > values in a table (or only on numbers)? > > something like: > > #tblfm: $3 = "$3" (or for all columns?) > > Then I think I am satisfied ;) This may help: | a | 3 | |+---| | z3 | | #+TBLF

Re: [O] how to force org-mode to interpret number as string

2014-03-07 Thread Stefan Huchler
Eric Schulte writes: > I suggested that you remove "." from your numbers. You could also wrap > your numbers in "s. > #+name: example > | "100." | > #+begin_src emacs-lisp :var example=example > (caar example) > #+end_src > > #+RESULTS: > : 100. > thank you and sorry for my in

Re: [O] how to force org-mode to interpret number as string

2014-03-06 Thread Eric Schulte
>> 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, > > I think the way I have to go is to use export the table to csv then it > looses some of it

Re: [O] how to force org-mode to interpret number as string

2014-03-06 Thread Stefan Huchler
Eric Schulte writes: > 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.

Re: [O] how to force org-mode to interpret number as string

2014-03-06 Thread Eric Schulte
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 nu

Re: [O] how to force org-mode to interpret number as string

2014-03-05 Thread Stefan Huchler
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

Re: [O] how to force org-mode to interpret number as string

2014-03-05 Thread Bastien
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? -- Bastien

[O] how to force org-mode to interpret number as string

2014-03-04 Thread Stefan Huchler
I try to generate mail drafts from a table as template-tokens. The Problem is that that org-mode seems to auto-format the salary column as a number. I donĀ“t need to calc this numbers so saving/getting it as string would be what I want. It not only butchers the string because he interprets the