回复 17楼study1990的帖子
能否提供你的设置代码?请问使用以下代码还会出现问题吗?
- FarPoint.Web.Spread.CurrencyCellType c = new FarPoint.Web.Spread.CurrencyCellType();
- System.Globalization.NumberFormatInfo nfi = new System.Globalization.NumberFormatInfo();
-
- nfi.CurrencyDecimalDigits = 2;
- nfi.CurrencyDecimalSeparator = ".";
- nfi.CurrencyGroupSeparator = "@";
- c.NumberFormat = nfi;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = c;
- FpSpread1.ActiveSheetView.Cells[0, 0].Value = 234.56;
复制代码 |