Open KamasamaK opened 2 years ago
As you discovered, you can set the csv-preview.formatValues
setting to unquoted
. That way, any value enclosed in quotes will be displayed as-is, but unquoted numeric values will respect the csv-preview.numberFormat
setting (default: g2).
I have a CSV file with one of the columns as a MAC address (12 hexadecimal characters) with no separators. A small number of the MAC addresses were displayed as "Infinity" in the preview.
Here is a sample of the first 5 in my file
And they display as follows
This seems to be related to the setting
csv-preview.formatValues
since when I change it from the default value ofalways
it fixes it.The only pattern I've found is that these all contain 11 decimal digits and one E.