- FarPoint.Web.Spread.GeneralCellType g = new FarPoint.Web.Spread.GeneralCellType();
- System.Globalization.NumberFormatInfo nfi = new System.Globalization.NumberFormatInfo();
- nfi.NumberDecimalDigits = 3;
- nfi.NumberDecimalSeparator = ",";
- g.NumberFormat = nfi;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = g;
- FpSpread1.ActiveSheetView.Cells[0, 0].Value = 234.56;
复制代码 |