Hi,
Hi,
Thanks for using Aspose.Cells.
To change the decimal separator for formatting cells and saving csv, please see following code:
C#
Workbook wb…
CultureInfo ci = new CultureInfo(CultureInfo.CurrentCulture.LCID, true);
ci.NumberFormat.NumberDecimalSeparator = “,”;
wb.Settings.CultureInfo = ci;
wb.Save(“e:/download/res.csv”);
Or you can just change the cultureinfo/region to existing one whose default decimal separator is the character your desired:
C#
wb.Settings.Region = CountryCode.Germany; //the default decimal separator is ‘,'
wb.Save("e:/download/res.csv");