Reputation: 105
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?
Upvotes: 2
Views: 25745
Reputation: 34
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 ,2)
This may be help you
Upvotes: 1
Reputation: 26262
If you need to round the decimal for display purposes, simply use the "Decrease Decimals" icon:
Upvotes: 4