Live data from Hacker News

Retain leading zeros in CSV (simple solution)

webdigi.co.uk

1–4 of 4 posts

Re: Retain leading zeros in CSV (simple solution)

#4
It depends on what program one uses for opening CSV i guess .. If the users are only going to use EXCEL, it makes sense to add an extra = in the exports .. if not, that's again an issue ..

also, CSV format dictates that it should be "=""000123""" ..

or just import it as .txt file and treat the column with leading zeroes as text ..