FarPoint.Web.Spread.DoubleCellType DoubleCellType = new FarPoint.Web.Spread.DoubleCellType();
int nDecimalDigits =6;
DoubleCellType.MaximumValue = 10000000000;
DoubleCellType.MinimumValue = -10000000000;
FpSpread1.Sheets[OneWeb.SheetIndex].Cells[OneWeb.RowNum, OneWeb.ColNum].CellType = DoubleCellType;
数据在输入0.000005时以科学计数法显示了,如何设置?
FarPoint.Web.Spread.TextCellType TextCellType = new FarPoint.Web.Spread.TextCellType();下可以,但我输入框有数据类型验证,只能用DoubleCellType 。
|
|