I'm currently working on an ASP.NET MVC 4.5 application.
I try to render a property from my model as a correct numeric value:
The property in the ViewModel:
public decimal? Price { get; set; }
the data from the DB looks like this: 99999,99
My desired format would look like this: 99.999,99
In my razor View I use the property like this:
@Model.Price
Unfortunately it looks still like this: 99999.99
Do you know how I can format that decimal? value correctly on my view?
Is there also a solution without using a display template?
Thanks!!!