title: Getting a double with .00
body: <p>I have a <code>String</code> value; and i need to have it always with 2 decimals as a <code>Double</code> type; so, if i get <code>500</code>, i need to convert it to <code>500.00</code> being always a double value.</p>
  
  <p>My problem is when i have something like<code>xxx.00</code> or <code>xxx.x0</code>, the parseDouble method removes the second 0.</p>
  
  <p>My code is something like this</p>
  
  <pre><code>String number = "500.00";
  Double numberToSave = (Double.ParseDouble(number));
  </code></pre>
  
  <p>And <code>numberToSave</code> returns <code>500.0</code></p>
  
  <p>Any ideas of how can i resolve this? I need to show the second decimal even if it is <code>0</code>.</p>
  
  <p>Thank you.</p>