I have an input for decimal values in HTML:
<input type="number" step="0.01"/>
My model and my variables in C# are declared as decimal as well. But when I, for example, input a number such as 0,15 I get the value of 15 instead of the original 0,15 on my Controller.
I'm posting the data using the form method="post" from HTML
The model is:
public decimal Value { get; set; }
What can I do to receive 0.15 as the value in my controller?