Hi guys,
I think i've found something strange:
If I put on a report with a simple group a textbox field on the group header or group footer with this formula on value property:
=(sum(dbfield1)/2000)*100
the results differs from this formula that must be the same:
=(sum(dbfield1)*100)/2000
It is, as I see, because if result of sum(dbfield1)/2000 is 0 <= x <1 telerik reporting uses 0 to continue with the formula.
For example:
Dbfield1=5
Formula1: =(sum(dbfield1)/2000)*100 = (5/2000)*100 = 0.0025*100 At this point Telerik reporting uses 0 not 0.0025 so 0*100=0
Formula2: =(sum(dbfield1)*100)/2000 = (5*100)/2000 = 500/2000 = 0.25
Is this behavior correct?
Thanks
David
I think i've found something strange:
If I put on a report with a simple group a textbox field on the group header or group footer with this formula on value property:
=(sum(dbfield1)/2000)*100
the results differs from this formula that must be the same:
=(sum(dbfield1)*100)/2000
It is, as I see, because if result of sum(dbfield1)/2000 is 0 <= x <1 telerik reporting uses 0 to continue with the formula.
For example:
Dbfield1=5
Formula1: =(sum(dbfield1)/2000)*100 = (5/2000)*100 = 0.0025*100 At this point Telerik reporting uses 0 not 0.0025 so 0*100=0
Formula2: =(sum(dbfield1)*100)/2000 = (5*100)/2000 = 500/2000 = 0.25
Is this behavior correct?
Thanks
David