title: Integer Comparison
body: <p>I need to compare two Integers which could exceed Integer range limit. How do I get this in javascript.
  Initially, I get the value as String, do a parseInt and compare them.</p>
  
  <pre><code>var test = document.getElementById("test").value;
  var actual = document.getElementById("actual").value;
  if ( parseInt(test) == parseInt(actual)){
    return false;  
  }
  </code></pre>
  
  <p>Any options to use long ? Also, which is best to use parseInt or valueOf ?? </p>
  
  <p>Any suggestions appreciated,</p>
  
  <p>Thanks</p>