您好,
按照您的Demo没有重现问题
- FpSpread1.ActiveSheetView.Cells[0, 0].Value = 2342342.23;
- var ft = new FarPoint.Web.Spread.Model.GeneralFormatter("#,##0.00;-#,##0.00;_ * -??_ ;_ @_", false);
- FpSpread1.ActiveSheetView.Cells[0, 0].Formatter = ft;
- FpSpread1.SaveExcel(@"D:\abc.xlsx", FarPoint.Excel.ExcelSaveFlags.UseOOXMLFormat);
-
复制代码 |