title: Math.floor returns NaN
body: <p>I am using javascript to remove .0 from the value in  innerHtml.
  It is working fine in localhost but when i uploaded at server it is returning 'NaN'. When i reload the page it shows value for a second and then it shows NaN. Following is javascript function</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      $(document).ready(function () {
  
          var aliasstart = document.getElementById('aliasstart').innerText;
          document.getElementById('aliasstart').innerText =parseInt( Math.floor(aliasstart));
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>AliasStart is of type decimal in MVC model class
  I have given the part of the code.
  Please help</p>