Hi:
I'm working on a report in Crystal Reports version 8.5. I have a formula field that calculates number fields (sums the two fields). Here is the formula:
Sum ({qryAnnex_View.NRCost}, {qryAnnex_View.Categories})+Sum ({qryAnnex_View.NRWorkyearCost}, {qryAnnex_View.Categories})
What is the correct syntax for incorporating the Round function - Round(x,#places) - into the formula above, if I want the calculated result to be rounded to the nearest hundredth?
For example, I have the number 104,728.95 want it to stay just that and not be rounded off to the nearst one which would be 104,729.00 (which is happening now in my report).
Would the correct syntax be something like?
Round(Sum ({qryAnnex_View.NRCost}, {qryAnnex_View.Categories})+Sum ({qryAnnex_View.NRWorkyearCost}, {qryAnnex_View.Categories}),.#00)
Any advice is greatly appreciated.
Thanks,
Cheryl
I'm working on a report in Crystal Reports version 8.5. I have a formula field that calculates number fields (sums the two fields). Here is the formula:
Sum ({qryAnnex_View.NRCost}, {qryAnnex_View.Categories})+Sum ({qryAnnex_View.NRWorkyearCost}, {qryAnnex_View.Categories})
What is the correct syntax for incorporating the Round function - Round(x,#places) - into the formula above, if I want the calculated result to be rounded to the nearest hundredth?
For example, I have the number 104,728.95 want it to stay just that and not be rounded off to the nearst one which would be 104,729.00 (which is happening now in my report).
Would the correct syntax be something like?
Round(Sum ({qryAnnex_View.NRCost}, {qryAnnex_View.Categories})+Sum ({qryAnnex_View.NRWorkyearCost}, {qryAnnex_View.Categories}),.#00)
Any advice is greatly appreciated.
Thanks,
Cheryl