Send decimal number with commas working on c sharp mvc
<p>This is my first time in this very interesting forum.
I'm working on a mvc project. I have my model and inside it one decimal property for currency. Also I have its edit view in which I use Html Helper TextEditorFor. This Html Helper shows at the webpage one value from de Database but it shows it as a decimal with comma. Then, When I want to send again this edit without edditing nothing, it doesn't send anything to the Database and shows the wrong TextEditBox in which I need to change the commas for a point to be able to send this data to the Database. I hope I'd have explained it correctly :P</p>

<p>This is the model I have:</p>

<pre><code>[Display(Name = "Hardware purchasing")]
[DataType(DataType.Currency)]
public decimal Hardware { get; set; }
</code></pre>

<p>And this the view</p>

<pre><code>&lt;div class="form-group "&gt;
@Html.LabelFor(model =&gt; model.Hardware,  htmlAttributes: new { @class = "control-label col-md-2 col-xs-6" })
&lt;div class="col-md-1 col-xs-3 "&gt;
    @Html.EditorFor(model =&gt; model.Hardware, new { htmlAttributes = new { @class = "form-control text-center" } })
    @*@Html.ValidationMessageFor(model =&gt; model.Hardware, "", new { @class = "text-danger" })*@
&lt;/div&gt;
</code></pre>

<p>I was looking for some method that let me convert this number with commas to decimal in order to sent to the database. Perhaps getting the html value in the controller and converting it, but I don't know how neither if this is the correct way.
I hope you could help me.  Thank you very much.</p>