I am devloping an MVC 5 Website and running into a cirtical Problem.
In my Database i have a Decimal(8,6) and i just wanna have it to be on my view and be validatey in my form
I am using this helper:
@Html.TextBoxFor(x=>x[i].DecimalValue, new{ type="number"})
The Result is, that my Value is not shown because the input field can't handle values like "15,11" only values like "15.11"
I even tried setting the value manually and replacing the comma with dot but then i cant send my decimal back to my controller it's alwasy 0 then.
I guess it's just a simple thing but i just cant get it to work properly.
Any Help on this?