Specify different datatypes in CSV files¶
To specify various datatypes in a CSV file, use the following rules:
-
If the value is alphabetic or with a single quote ('), it is a string and the first apostrophe is stripped. For example, the following are all strings:
-
abc -
'abcbecomesabc -
'123becomes123 -
''123becomes'123
-
-
If the input is recognized as numeric, the datatype is a Double. For example, the following are all converted to Doubles:
-
100.00 -
1 -
-100.00 -
-1 -
0
-
-
The following are all recognized as Boolean values:
-
True -
TRUE -
tRue -
FALSE -
false
-
-
Anything that is not is considered a String.