kang10111 你好,
3# 中个的问题我没有重新,能提供下你的设置代码吗?
下面是我的代码,请参考:- FarPoint.Web.Spread.PercentCellType g = new FarPoint.Web.Spread.PercentCellType();
- System.Globalization.NumberFormatInfo nfi = new System.Globalization.NumberFormatInfo();
- nfi.NumberDecimalDigits = 3;
- nfi.NumberDecimalSeparator = ",";
- g.NumberFormat = nfi;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = g;
- FpSpread1.ActiveSheetView.Cells[0, 0].Value = 234.56;
复制代码 |