I have a decimal field in my modal.
public partial class MyModel
{
public decimal? BudgetAantalDecimal { get; set; }
}
I show this in my form with
@Html.EditorFor(model => model.BudgetAantalDecimal, new { htmlAttributes = new { @class = "form-control decimal-small inline" } })
When I fill in the value 100 the field is filled in the model. When I fill in the value 100.66 the value is null in my model.
When I change my language setting from Dutch to US format I can use the value 100.66. My customer has the Dutch language setting set in Windows. How can I overcome this issue?