Double quotes are only required for parsing,
I would like to know a bit more about corresponding requirements.
they are not used to judge if the input is a string or number.
I got other impressions (or expectations).
A little example: 1;"1"
If you save this one-liner as CSV file and open it with Excel, but values will be interpreted and formatted as numbers.
I suggest to take another look at available information sources.
* Text Import Wizard by Microsoft Excel https://support.microsoft.com/en-gb/office/text-import-wizard-c5b02af6-fda1-... Step 2 of 3 (Delimited data) … Text qualifier …
* Text Import by LibreOffice https://help.libreoffice.org/7.3/en-GB/text/shared/00/00000208.html#hd_id314...
Regards, Markus