回复 2楼iceman的帖子
-
- NumberFormatInfo nfi = new NumberFormatInfo();
- nfi.NumberDecimalDigits = 4;
- //数字类型
- DoubleCellType objDoubleCell = new DoubleCellType();
- objDoubleCell.NumberFormat = nfi;
- FpSpread1.ActiveSheetView.Cells[5, 2, this.FpSpread1.ActiveSheetView.RowCount - 1, 7].CellType = objDoubleCell;
复制代码
这样写 不行!还是会变成1,095.6 |