问题
My Crystal Report needs to round numbers to two decimal points. I have tried Round(55.815, 2) but it returns 55.81 instead of 55.82. How can I resolve this?
回答1:
just try this
if Remainder(55.815 ,1) > 0.5 then
Floor (55.815) + Remainder(55.815 ,1)
else
Floor (55.815 )+ Remainder(55.815 ,1)
This may be help you
回答2:
If you need to round the decimal for display purposes, simply use the "Decrease Decimals" icon:
来源:https://stackoverflow.com/questions/15462307/round-decimals-in-report-formula