Say I have two Razor MVC form that contains the same List of records from EF. One of the field is decimal value. In the first form we only need 2 decimal places precision, and 4 decimal places for the second form. In both form they're binded to a EditorFor HtmlHelper.
Normally I'd set DisplayFormatAttribute to make it work, but it surely doesn't fit the 2 forms case. What should I do now?
Btw, I think formatting is a Presentation Layer thing in MVC concept, it's a bit weird to me that I have to define it in Data Layer.