title: Math.floor() not working for me
body: <p>My Javascript File    </p>
  
  <pre><code>function getValues_sft_r(val){
  var numVal1=parseFloat(document.getElementById("sft_i").value);
  var numVal2=(numVal1 / 5476);
  
  
  document.getElementById("sft_r").value = math.floor(numVal2)
  }
  </code></pre>
  
  <p>My HTML File
      
      
      
      Test Page
      
      
      </p>
  
  <pre><code>&lt;script type="text/javascript" src="java.js"&gt;&lt;/script&gt;
  
  &lt;style&gt;
  input.numbox{
  width:30px;
  height:20px;
  }
  input.mainbox{
  width:30px;
  height:20px;
  font-size:30;
  font-weight:bold;
  }
  &lt;/style&gt;
  
  Convert SQ.Ft. to Ropani :
  &lt;br/&gt;
  Sq.Ft.:
  &lt;input class="numbox" type="text" id="sft_i" value="0" onkeyup="getValues_sft_r(1)" /&gt;
  
  Ropani:
  &lt;input style="mainbox" id="sft_r" value=""&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I am not getting the <code>Math.floor(numVal2)</code> value in my HTML document. How should I do it to get the value?</p>