+ Reply to Thread
Results 1 to 2 of 2

save text field w/ leading zeros in .csv format & not lose zeros?

  1. #1
    Ques
    Guest

    save text field w/ leading zeros in .csv format & not lose zeros?

    I currently have a csv file with a field that has one digit numbers. I need
    to create a text field and convert the one digit number to two digit text by
    adding a leading zero. I have tried using the concatenate function to add
    the leading zero, but when I close the csv file, it reverts back to one
    digit. How can I get the file to save the field as text and include the
    leading zero?

  2. #2
    Duke Carey
    Guest

    RE: save text field w/ leading zeros in .csv format & not lose zeros?

    Check your CSV file in Notepad, not in Excel. Excel will frequently convert
    your text representation of a number into a number, even though it likely was
    written out to disk with the leading zero

    "Ques" wrote:

    > I currently have a csv file with a field that has one digit numbers. I need
    > to create a text field and convert the one digit number to two digit text by
    > adding a leading zero. I have tried using the concatenate function to add
    > the leading zero, but when I close the csv file, it reverts back to one
    > digit. How can I get the file to save the field as text and include the
    > leading zero?


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1