Hello,
NetOffice.ExcelApi.WorkBook.SaveAs(...) ignores my local settings when I save the workbook, e.g, in XlFileFormat.xlCurrentPlatformText format. After the workbook is saved to .txt file the decimal separator is always dot (.) while NetOffice.ExcelApi.Application.DecimalSeparator says that my decimal separator is comma (,).
If I save the workbook to the excel format then it uses the decimal separator defined in the DecimalSeparator property.
Is this a bug or feature that .txt file is always saved by using dot as a decimal separator?
I am using NetOffice 1.7.2 and .NET Framework 4.5
```
NetOffice.ExcelApi.Application excelApplication = new Excel.Application();
var workbook = excelApplication.Workbooks.Open("c:\\example.xlsx");
workbook.SaveAs("c:\\example.txt", XlFileFormat.xlCurrentPlatformText, Type.Missing, Type.Missing, false);
```
Comments: ** Comment from web user: sami_lehtonen **
NetOffice.ExcelApi.WorkBook.SaveAs(...) ignores my local settings when I save the workbook, e.g, in XlFileFormat.xlCurrentPlatformText format. After the workbook is saved to .txt file the decimal separator is always dot (.) while NetOffice.ExcelApi.Application.DecimalSeparator says that my decimal separator is comma (,).
If I save the workbook to the excel format then it uses the decimal separator defined in the DecimalSeparator property.
Is this a bug or feature that .txt file is always saved by using dot as a decimal separator?
I am using NetOffice 1.7.2 and .NET Framework 4.5
```
NetOffice.ExcelApi.Application excelApplication = new Excel.Application();
var workbook = excelApplication.Workbooks.Open("c:\\example.xlsx");
workbook.SaveAs("c:\\example.txt", XlFileFormat.xlCurrentPlatformText, Type.Missing, Type.Missing, false);
```
Comments: ** Comment from web user: sami_lehtonen **
Hello and thanks,
I tested this with MS Interop assemblies and was able to reproduce it. So this isn't NetOffice's bug.
Sami