Views are difficult to unit test, so we want to keep them as thin as possible.
… Notice in [the View Model] that all of the properties are strings. We’ll have the
[properties] properly formatted before this view model object is placed in view data.
This way, the view need not consider the object, and it can format the information
properly.

To facilitate the formatting between the Domain Model and the View Model, a few of AutoMapper’s
features may be utilized. Here’s a DomainModel containing a CurrencyProperty which
will needed to formatted for human consumption:

Conclusions

There may be more elegant ways to accomplish formatting for MVC Views, but this method
is quite workable. In particular, I can imagine utilizing DataAnnotations’s
DisplayFormatAttribute to decorate the Model or ViewModel and the framework automagically
applying the formatting while rendering the View.