Search code examples
crystal-reportsdecimalrounding

Round decimals in report formula


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?


Solution

  • 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