回复 1楼kamehameha的帖子
请使用以下代码测试:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- FarPoint.Web.Spread.DoubleCellType dblc = new FarPoint.Web.Spread.DoubleCellType();
- dblc.DecimalDigits = 3;
- dblc.FixedPoint = true;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = dblc;
- FpSpread1.ActiveSheetView.Cells[0, 0].Value = 435.98745;
- }
复制代码 |