title: ASP.NET MVC Input Type number with decimal
body: <p>I have a web form that has lots of input controls. Most of them are numbers, not integers but decimals. Now my problem is, when a decimal has a comma separator (eg. 120,44)  that input type remains empty (but when I check with the element inspector I see that the value attribute of that control has the value 120,44, it seems like is just not being displayed). Then I type the value manually inside the  input and then I check with document.getElementById("#myelemet").val and the value is right. </p>
  
  <p>So what else could i try here to have my decimal numbers displayed (without the comma separator they are displayed properly)</p>
  
  <p>I have already tried to set the setting inside of web.config</p>
  
  <pre><code>    &lt;globalization fileEncoding="utf-8" 
                  requestEncoding="utf-8" 
                  responseEncoding="utf-8" 
                  culture="de-DE" uiCulture="de-DE" /&gt;
  </code></pre>
  
  <p>but it didnt help. Then I tried also to set the lang attribute for the input <code>lang="de-DE"</code> also didnt help ...</p>