I use a specific formatting for prices in my reports,
Code: Select all
{IIF(Floor(DataSource2.TotalPrice)==DataSource2.TotalPrice,
Persian(Floor(DataSource2.TotalPrice).ToString("#,##0")),
Persian(Math.Round(DataSource2.TotalPrice, 2).ToString("#,##.00"))
)}
Code: Select all
......
report.Render(false);
MemoryStream stream = new MemoryStream();
StiPdfExportService service = new StiPdfExportService();
service.ExportPdf(report, stream, setting);
Server's region format is on `Persian` as is for other computers that I have tried this report without any problem. But I don't think there's any problem at those settings since I have hard-coded the separator.
I should note that this problem doesn't exist in HTML output.
Thanks for your attention