Posted 8 September 2017, 1:50 pm EST
I am trying to set 3 decimal places in a column and it will only give me 2.
In the database I have the field set as double with 3 decimal points and the code I use to set decimal places is as follows...
Dim cell As New FarPoint.Win.Spread.CellType.NumberCellType
cell.MaximumValue = 9999999.999
cell.MinimumValue = 0
cell.DecimalPlaces() = 3
col = mfpGrd.ActiveSheet.Columns(iCol)
col.CellType = cell
What am I doing wrong?