title: Restrict Float Precision in JavaScript
body: <p>I'm working on a function in JavaScript. I take two variables x and y.</p>
  
  <p>I need to divide two variables and display result on the screen:</p>
  
  <pre><code>x=9; y=110;
  x/y;
  </code></pre>
  
  <p>then I'm getting the result as : </p>
  
  <blockquote>
    <p>0.08181818181818181</p>
  </blockquote>
  
  <p>I need to do it with using some thing like <code>BigDecimal.js</code> that I found in another post.</p>
  
  <p>I want that result was shown as: </p>
  
  <blockquote>
    <p>0.081</p>
  </blockquote>