回复 1楼dxhshitc的帖子
通过 Spread 8.1 使用以下代码测试(Win8.1 X64 英文版 Chrome)没有重现问题:- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- FarPoint.Web.Spread.GeneralCellType g = new FarPoint.Web.Spread.GeneralCellType();
- System.Globalization.NumberFormatInfo nfi = new System.Globalization.NumberFormatInfo();
- nfi.NumberDecimalDigits = 3;
- nfi.NumberDecimalSeparator = ",";
- nfi.NumberGroupSeparator = " ";
- g.NumberFormat = nfi;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = g;
- FpSpread1.ActiveSheetView.Cells[0, 0].Value = -2311224.56;
- }
复制代码
请你使用相同代码测试,看是否能够解决你的问题。 |