GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
ncell1.AcceptsDecimal = GrapeCity.Win.Spread.InputMan.CellType.DecimalMode.Cut;
ncell1.Fields.SetFields("###", "", "", "-", "");
fpSpread1.ActiveSheet.Cells[1, 1].CellType = ncell1;
fpSpread1.ActiveSheet.Cells[1, 1].Value = 12.31;
Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
ncell1.AcceptsDecimal = GrapeCity.Win.Spread.InputMan.CellType.DecimalMode.Cut
ncell1.Fields.SetFields("###", "", "", "-", "")
fpSpread1.ActiveSheet.Cells(1, 1).CellType = ncell1
fpSpread1.ActiveSheet.Cells(1, 1).Value = 12.31