title: java check for zero with different decimals
body: <p>I need to check if a value taken from database (string) is zero (with any decimal).<br>
  Following are the few samples  </p>
  
  <pre><code>0.000 - true   
  0 - true  
  0.000000 - true  
  0.0000000000 - true  
  0.0000000001 - false  
  0.10 - false
  </code></pre>
  
  <p>Can anyone please tell any simple way to check the above?</p>