title: Parse "45,978" to double value
body: <p>I want to parse <code>"45,978"</code> to double which is read from a <code>*.csv</code>. Right now I am doing:</p>
  
  <pre><code>double P_current = Double.parseDouble(priceList.get(j));
  </code></pre>
  
  <p>However I am getting a number format exception for this string input:</p>
  
  <pre><code>java.lang.NumberFormatException: For input string: "45,978"
  </code></pre>
  
  <p>I know that I could change all the <code>,</code> in my csv file to a <code>.</code> which would probably work. However I do not want that, because I need the comma in this file. Is there any ways to parse this to double <code>as-it-is</code>? </p>
  
  <p>I appreciate your answer!</p>