title: How to sum number with Number in TypeScript
body: <p>It might seem as a trivial question, but I was not able to get any relevant results since google search is case insensitive.</p>
  
  <p>Let's say I have following code:</p>
  
  <pre><code>items[5] = "5\,5"
  totalAmount: number = 5
  totalAmount = totalAmount + Number(items[5].replace( "\\,", "."));
  </code></pre>
  
  <p>and my IDE tells me that I cannot appy operands to type number and Number. 
  When I serached for a method to turn string into a number, I was only met with the above solution, which is useless for me. How can I make a number typed variable from a string?</p>