Posted 8 September 2017, 1:10 pm EST
I have a column in a spread (Spread for Winforms 4) with celltype set as NumberCellType and property DecimalPlaces set to 0.
When the user in runtime adds a number in a cell, the Value property of the cell gets a ending .0 (e.g. 100.0 after typing 100). This decimal is not displayed but causes problems as I somtimes programatically sets the value (without .0). When the user then tabs pass the cell the CellChanged event fires as the spread now has added the .0 decimal in the Value property.
How can I avoid this .0?