i want to generate Excel file using c#
. Am using NPOI XSSFWorkbook
class. while printing a decimal value in Excel sheet i want to give it Accounting formatting.
For Example my data should look like $35.00
. But am not able to achieve it using XSSFWorkbook class. i have already tried
CellStyle.DataFormat = _workbook.CreateDataFormat().GetFormat("#,##0");