formatting a decimal as percentage to display in view?
change
[DisplayFormat(DataFormatString = "{0:F1}")]
to
[DisplayFormat(DataFormatString = "{0:P2}")]
and remove *100 from getter
as said here format for percentages in decimal is P
not F
in MVC 5 You can Change the index View If you want Just To show Two zeros After double Value
code Befor
@Html.DisplayFor(modelItem => item.PRSPrice)
code After
@Convert.ToDouble(item.PRSPrice.Value).ToString("0.00")
Thank You