asafdav/ng-csv

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

Opened this issue · 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?

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