I rounded the loan amount value. But in my model I have defined the Loan Amount as Decimal. In Grid I need to show it as an Integer (need to avoid the last two zero's after the point).
For example: it shows as 22.00 if the data saved is 21.50. In the grid I need to display as 22 only - avoiding the zeros after the point.
Code:
@Html.DisplayFor(modelItem => item.LoanAmount)