title: How to truncate floating point number in jscript?
body: <p>How to truncate float value in Jscript?</p>
  
  <p>eg.</p>
  
  <pre><code>var x = 9/6
  </code></pre>
  
  <p>Now x contains a floating point number and it is 1.5.
  I want to truncate this and get the value as 1</p>