title: Convert Excel Formula to Javascript
body: <p>I have this formula on excel</p>
  
  <pre><code>=(1130000000000*F11^1.85)/(F19^1.85*(F13*(1-2/F15))^4.8655)
  </code></pre>
  
  <p>when</p>
  
  <pre><code>F11 = q
  F19 = 150 (Constant)
  F13 = d
  F15 = sdr
  </code></pre>
  
  <p>I convert it to this</p>
  
  <pre><code>Math.round((1130000000000*Math.pow(q,1.85))/(Math.pow(150,1.85)*Math.pow(d*(1-2/sdr)),4.8655))
  </code></pre>
  
  <p>but the results are wrong</p>
  
  <p>when </p>
  
  <pre><code>q = 120
  d = 200
  sdr = 17
  </code></pre>
  
  <p>the result should be <code>8.76</code>
  but I am getting long numbers</p>
  
  <p>any help ?
  Thanks</p>