R
RP
I want to ROUND the value if it is .5 or more to next integer. I am
using like this:
adAmount = Math.Round((basicPay * PerOrAmount) / 100, 0);
But it is not doing correctly. Suppose of adAmount = 132.5, it will
not do 133. If it exceeds .5 then it does. How to round when .5?
using like this:
adAmount = Math.Round((basicPay * PerOrAmount) / 100, 0);
But it is not doing correctly. Suppose of adAmount = 132.5, it will
not do 133. If it exceeds .5 then it does. How to round when .5?