emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Babel trims leading 0s for certain numbers of tables


From: Ken Mankoff
Subject: [O] Babel trims leading 0s for certain numbers of tables
Date: Sun, 10 Jul 2016 08:38:28 -0400
User-agent: mu4e 0.9.17; emacs 25.0.95.1

I've just discovered that when Org results are returned in a table, they are 
modified in that leading 0s are removed. Is this a feature? A bug? Is there a 
workaround for this? Leading 0s are not removed if the result is a string, but 
in many cases a string of numbers is still a string and should retain those 0s.

  -k.

#+BEGIN_SRC sh :results table
echo "0042"
#+END_SRC
#+RESULTS:
| 42 |

#+BEGIN_SRC sh :results table
echo "00foo"
#+END_SRC
#+RESULTS:
| 00foo |





reply via email to

[Prev in Thread] Current Thread [Next in Thread]