Hello ,
You can try this way
firstly module (%) the decimal number by 1 , so that i can check whether the remainder is greater than or less than 0.5 . depending upon the condition i rounding off the given decimal no.
<br />
decimal val = 512432435.65m;<br />
decimal ulti = ((val % 1) > 0.5m ? val - (val % 1) + 1 : val - (val % 1));<br />
Console.WriteLine(ulti.ToString("#,##0.00##"));<br />
thanks