请教各位高手!
我设置了每个Cell个格式如下:
FarPoint.Web.Spread.DoubleCellType objNumCell = new FarPoint.Web.Spread.DoubleCellType();
objNumCell.ErrorMessage = "请输入数字型数值(数值范围:9999999999到-9999999999)";
objNumCell.DecimalDigits = 4;
objNumCell.MinimumValue = -9999999999;
objNumCell.MaximumValue = 9999999999;
spread.ActiveSheetView.Cells[1, 1, spread.ActiveSheetView.Rows.Count - 1, 7].CellType = objNumCell;
导出后格式为什么是:#,##0.####;-#,##0.####
如何实现导出格式为:###0.0000;-###0.0000"
谢谢! |
|