title: TextBoxFor to display value in thousands
body: <p>Hi I have the following textbox</p>
  
  <pre><code>@Html.TextBoxFor(r =&gt; model.Hours, new { @class = "form-control NumberVal input-sm text-right", @data_cp_min_value = 0, @data_cp_max_value = 10000, @Value = String.Format("{0:#,##0}", model.Hours) })
  </code></pre>
  
  <p>howevery my js validation returns true when i do <code>IsNaN(input.val())</code></p>
  
  <p>Also when submitting the form the decimal part is lost as the Value is being submitted.</p>
  
  <p>How can i solve this?</p>