Hi Aditya,
setScale(scale) – Returns the Decimal scaled to the specified number of decimal places, using half-even rounding, if necessary. Half-even rounding mode rounds toward the “nearest neighbor.” If both neighbors are equidistant, the number is rounded toward the even neighbor.
I hope it helps!
-
This reply was modified 6 years, 2 months ago by
Forcetalks.