title: javascript number greater than number not return correct result
body: <p>in this below code i want to say IF <code>data.transferMoney</code> greater than <code>results[0].money</code> THEN return false ELSE return true, but it doesn't return correct result</p>
  
  <pre><code>if (Number(results[0].money) &lt; Number(data.transferMoney))
      return false;
  else
      return true;
  </code></pre>
  
  <p>or this code:</p>
  
  <pre><code>if (parseInt(results[0].money) &lt; parseInt(data.transferMoney))
      return false;
  else
      return true;
  </code></pre>
  
  <p><code>results[0].money</code> and <code>data.transferMoney</code> are string</p>
  
  <p><code>results[0].money</code> is 180476 and <code>data.transferMoney</code> is 12</p>