I am using the following code to create a google sheets file from data contained in a text file in a shared Google Drive. My issue is the process mistakenly identifies the comma as a thousands separator, whereas it's a decimal separator in my locale. Is there some sort of way to configure the separator to be used? If not, some other way to circumvent the issue? This is all done in order to automate the process of updating google sheets.
function createGoogleSheetsFromTXT(textId,sheetsId) { //ids of files on drive
let textFile = DriveApp.getFileById(textId);
let blob = textFile.getBlob();
let config = {
mimeType: MimeType.GOOGLE_SHEETS,
};
let spreadsheet = Drive.Files.update(config,sheetsId, blob,{supportsAllDrives: true});
return spreadsheet.id;
}