diff --git a/src/plugins/dataStore/CSVDataStore/src/csvdatastoreexporter.cpp b/src/plugins/dataStore/CSVDataStore/src/csvdatastoreexporter.cpp index 92f7dd4f0e..1851a7f538 100644 --- a/src/plugins/dataStore/CSVDataStore/src/csvdatastoreexporter.cpp +++ b/src/plugins/dataStore/CSVDataStore/src/csvdatastoreexporter.cpp @@ -159,7 +159,7 @@ void CsvDataStoreExporterWorker::run() double voiValue = voiValues[i]; if (voi != nullptr) { - rowData += QString::number(voiValue); + rowData += QString::number(voiValue, 'g', 15); } bool firstRowData = true; @@ -181,7 +181,7 @@ void CsvDataStoreExporterWorker::run() if ( (runsIndex[j] < dataStore->size(j)) && qFuzzyCompare(dataStore->voi()->value(runsIndex[j], j), voiValue)) { - rowData += QString::number(variableRun->value(runsIndex[j], j)); + rowData += QString::number(variableRun->value(runsIndex[j], j), 'g', 15); updateRunsIndex[j] = true; }