title: Javascript BigInt.js How to Divide big numbers
body: <p><a href="http://www.leemon.com/crypto/BigInt.js" rel="nofollow">http://www.leemon.com/crypto/BigInt.js</a></p>
  
  <p>I am using the leemon bigint.js library, but I am having trouble figuring out how to divide one big number by another.  Here is what I have so far:</p>
  
  <pre><code>var a = str2bigInt("100",10);
  var b = int2bigInt("5", 10);
  var result = [];
  var r = [];
  divide_(a,b,result,r)
  alert(bigInt2str(result,10));
  </code></pre>
  
  <p>but when I alert(result) the output is 0.  The result should be 20?  Can anybody see what I am doing wrong?  </p>
  
  <p>Cheers</p>