title: how to convert currency format to double in java
body: <p>I am getting value in currency formate, but i want double format only.</p>
  
  <pre><code>String amt = txn.getAmount();
  System.out.println("--amt--"+amt);//output:1010
  double value = Double.parseDouble(amt);
  System.out.println("---value---"+value);//output:1010.0
  String ammount=NumberFormat.getCurrencyInstance().format(value);
  System.out.println("--ammount--"+ammount);//output:Rs.1,010.00
  </code></pre>
  
  <p>Here i want <code>Rs.1,010.00</code> to <code>1010.00</code></p>
  
  <p>Any mistakes in my code?</p>