Hello, I used this formula Math.Round(((Var1*Var2), 2) to round up to the second decimal but the problem is that when the product of Var1 by Var2 ends for example 5.985, the formula rounds me to 5.98 instead of 5.99.
Is there an additional parameter to add to allow this?
Thank you
Hi,
Can you try the following?
Math.Round( 5.985, 2,MidpointRounding.AwayFromZero)
Regards,
give a try on

Math.Round(Var1*Var2,2, MidpointRounding.AwayFromZero)
It works, thank so much