I create a column, set its formula and set its data type
this.createdColumn = this.band.Columns.Add( columnName );
this.createdColumn.Formula = this.ultraTextEditorFormula.Text;
Then I call Recalc
UltraCalcManager ucm = (UltraCalcManager)this.createdColumn.Layout.Grid.CalcManager;
ucm.DeferredCalculationsEnabled = true;
Now for my problem, if I set the column datatype to Int32 and create a calculation that is between 2 decimal columns, the formula results show a decimal value. Is there anyway to format the values to make them an int or to round a decimal to a certain number of decimal places?
Version 2006.1
Thank you, Jamie
Hi Jamie,
Use the Format property of the column.
is there anyway to format it so that the value actually being returned from the calculation is formatted?