title: Selenium ide store string as number
body: <p>I need to store two text value and use them as numbers for subtraction:</p>
  
  <pre><code>&lt;a href="..."&gt;&lt;span id="user-account-balance"&gt;593 455,07&lt;/span&gt; $&lt;/a&gt;
  
  &lt;a href="..."&gt;&lt;span id="user-account-balance-points"&gt;12454&lt;/span&gt; P&lt;/a&gt;
  </code></pre>
  
  <p>I need to subtract both values, but it doesn't work for me:</p>
  
  <pre><code>&lt;tr&gt;
      &lt;td&gt;storeText&lt;/td&gt;
      &lt;td&gt;//a/span[@id='user-account-balance']&lt;/td&gt;
      &lt;td&gt;a&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;storeEval&lt;/td&gt;
      &lt;td&gt;storedVars['a'].match(/^\d+/);&lt;/td&gt;
      &lt;td&gt;one&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;storeText&lt;/td&gt;
      &lt;td&gt;//span[@id='user-account-balance-points']&lt;/td&gt;
      &lt;td&gt;c&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;storeEval&lt;/td&gt;
      &lt;td&gt;storedVars['c'].match(/^\d+/);&lt;/td&gt;
      &lt;td&gt;two&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;store&lt;/td&gt;
      &lt;td&gt;javascript{storedVars['one']+storedVars['two']}&lt;/td&gt;
      &lt;td&gt;r&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;echo&lt;/td&gt;
      &lt;td&gt;${r}&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>The result is [info] echo: 59312454. So there are two problems, the first number is cut out after the space and it doesn't even subtract anyway</p>