I've found an issue where if you have a textbox using an expression
Sum(IIF(Fields.typeCode="DG",Fields.TotalAmount,0)) will round your result up or down regardless of the Format of the control, when I change it to ....Sum(IIF(Fields.typeCode="DG",Fields.TotalAmount,0.00)) the results are NOT rounded.
To recreate this you must ensure the the first record in your result set causes the IIF condition evaluates to the false-part first meaning it will sum the 0. I'm assume the report engine processes the "0" and automatically defaults the number of decimals to match the format of 0....if the engine encounters 0.00 it auto formats to use 2 decimal places. You will not see this behavior if the IIF evaluates the true-part first with existing decimal data. Using Telerik Reporting ver 6.0.12.215
Thanks,
Kerry
Sum(IIF(Fields.typeCode="DG",Fields.TotalAmount,0)) will round your result up or down regardless of the Format of the control, when I change it to ....Sum(IIF(Fields.typeCode="DG",Fields.TotalAmount,0.00)) the results are NOT rounded.
To recreate this you must ensure the the first record in your result set causes the IIF condition evaluates to the false-part first meaning it will sum the 0. I'm assume the report engine processes the "0" and automatically defaults the number of decimals to match the format of 0....if the engine encounters 0.00 it auto formats to use 2 decimal places. You will not see this behavior if the IIF evaluates the true-part first with existing decimal data. Using Telerik Reporting ver 6.0.12.215
Thanks,
Kerry