I'm trying to add a table in QGIS but I cannot define the datatype of my fields, as when imported they get automatically "read" as string.
I have tried to add a csvt file, by filling a .txt with the datatype of each column/field, as follows:
I saved the file with the same name of the CSV (but followed by the new extensions) and saved it in the same folder containing the original CSV file, as follows:
I have tried to import the CSV by "Add delimited text layer", "Add vector layer", and browsing and dragging the file directly in QGIS. The imported file's fields are still all strings.
Not sure if this is relevant but my computer doesn't recognise the csvt file format and still reads it as a .txt file.
What am I doing wrong?