回复 1楼study1990的帖子
抱歉,当前这个问题只能通过设置单元格类型小数位来解决。
- this.FpSpread1.Sheets[0].Cells[0, 0].Formula = "6356.41-372117.02+372117.02";
- FarPoint.Web.Spread.DoubleCellType dblc = new FarPoint.Web.Spread.DoubleCellType();
- dblc.DecimalDigits = 2;
- dblc.FixedPoint = true;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = dblc;
复制代码 |