ng-csv icon indicating copy to clipboard operation
ng-csv copied to clipboard

Field with leading zeros being treated as a number rather than a string

Open ThomasSmithIRE opened this issue 7 years ago • 1 comments

I am using a String field to store Identification Numbers. When exporting the data to CSV, all leading zeros are removed. Is my String being treated as a Number during the conversion?

I cannot wrap the values in quotes as there are many other dependencies on these values in the system.

Can you suggest the best approach to this one?

ThomasSmithIRE avatar Nov 21 '17 16:11 ThomasSmithIRE

I have the same issue as well. Please help with an example.

rohithshenoyg avatar Mar 01 '18 19:03 rohithshenoyg