From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Babel trims leading 0s for certain numbers of tables Date: Sun, 10 Jul 2016 21:18:45 +0800 Message-ID: <87eg713a2y.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMEdU-0007ay-2E for emacs-orgmode@gnu.org; Sun, 10 Jul 2016 09:19:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMEdQ-00017m-Sw for emacs-orgmode@gnu.org; Sun, 10 Jul 2016 09:19:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:50015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMEdQ-00016n-Ls for emacs-orgmode@gnu.org; Sun, 10 Jul 2016 09:19:00 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bMEdN-0001kX-8h for emacs-orgmode@gnu.org; Sun, 10 Jul 2016 15:18:57 +0200 Received: from 123.122.32.99 ([123.122.32.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jul 2016 15:18:57 +0200 Received: from eric by 123.122.32.99 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jul 2016 15:18:57 +0200 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" To: emacs-orgmode@gnu.org Ken Mankoff writes: > 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. Maybe you can use a format specifier for that column, so the zero-padding is retained?