Dim ct As New FarPoint.Web.Spread.GeneralCellType Dim ninfo As New System.Globalization.NumberFormatInfo ct.NumberFormat = ninfo ct.FormatString = "N" FpSpread1.Sheets(0).Cells(1, 1).CellType = ct FpSpread1.Sheets(0).Cells(1, 1).Value = 12345.57 Dim ct As New FarPoint.Web.Spread.GeneralCellTypeDim ninfo As New System.Globalization.NumberFormatInfo ct.NumberFormat = ninfo ct.FormatString = "N" FpSpread1.Sheets(0).Cells(1, 1).CellType = ct FpSpread1.Sheets(0).Cells(1, 1).Value = 12345.57 Dim ninfo As New System.Globalization.NumberFormatInfoct.NumberFormat = ninfo ct.FormatString = "N" FpSpread1.Sheets(0).Cells(1, 1).CellType = ct FpSpread1.Sheets(0).Cells(1, 1).Value = 12345.57 |