title: Parse numbers from strings and detect which string is number
body: <p>I have script that should convert strings to numbers when string actually is number.</p>
  
  <p>First I tried <code>isNumber(x)</code>, but it doesnt work on string that look like numbers, but actually are not, e.g. agreement number with leading zero '035859':</p>
  
  <pre><code>   if (isNumber('035859')) {
        parseFloat('035859'); //35859
     }
  </code></pre>
  
  <p>Next I tried parsing and comparing strings after parse and I got opposite problem - some numbers were not recognized as numbers</p>
  
  <pre><code> if (parseFloat('2.00').toString() == '2.00') //false
  </code></pre>
  
  <p>What should I do to find all numbers, but skip all strings? May be someone familiar with global approach without coding all possible exceptions?</p>