回复 1楼moriya的帖子
可以使用 DoubleCellType 来设置:
- FarPoint.Web.Spread.DoubleCellType dct = new FarPoint.Web.Spread.DoubleCellType();
- dct.DecimalDigits = 6;
- FpSpread1.ActiveSheetView.Cells[1, 1].CellType = dct;
- FpSpread1.ActiveSheetView.Cells[1, 1].Value = 1.12345678;
复制代码 |