title: Currency conversion in R
body: <p>I am trying to convert currency values from factor to numeric. The format is €110.5M €565K I was able to get rid of € sign, M and K letters but I also need to make the conversion as to show <code>110.5M=110.500.000</code> and <code>565K=565.000</code>. Is there a way that you can suggest?</p>
  
  <pre><code>value&lt;-as.numeric(gsub("[€MK]", "", as.character(strength[1:18207,1])))
  </code></pre>
  
  <p>Data to be converted</p>
  
  <pre><code>€110.5M €565K
  €77M    €405K
  €118.5M €290K
  </code></pre>