title: How to swap comma and dot in a string
body: <p>I am fetching price from a site in format: 10.990,00 which does not make sense as such. What is needed to make it as 10,990.00. I tried following but it's replacing all.</p>
  
  <pre><code>price = "10.990,00"
  price = price.replace(',','.',1)
  price = price.replace('.',',',1)
  </code></pre>
  
  <p>What am I doing wrong?</p>