回复 1楼怕瓦落地的帖子
试试DoubleCellType数据类型。
- FarPoint.Web.Spread.DoubleCellType dbct = new FarPoint.Web.Spread.DoubleCellType();
- dbct.NumberFormat = new System.Globalization.NumberFormatInfo();
- dbct.NumberFormat.NumberDecimalDigits = 4;
- dbct.NumberFormat.NumberDecimalSeparator = ".";
- dbct.EditMode.NumberFormat = new System.Globalization.NumberFormatInfo();
- dbct.EditMode.NumberFormat.NumberDecimalSeparator = "?";
- dbct.EditMode.DecimalDigits = 2;
- FpSpread1.Sheets[0].Columns[1].CellType = dbct;
复制代码
请问您用的Spread 版本和浏览器版本是那个? |