title: double value 0.0001 will converto 1.0E-4 while inserting into database
body: <p>I would like to pass the double value received from web page to sqlServer database.
  the value are wrapped in a value object.</p>
  
  <pre><code>public class testVO{
      Double value;
  
      public Double getValue() {
          return value;
      }
  
      public void setValue(Double value) {
          this.value = value;
      }
  
  }
  </code></pre>
  
  <p>However, the problem I've met is when the value is smaller than 0.0001, it will transfer into <strong>1.0E-4</strong> or other scientific-notation, which causes the database error.</p>
  
  <p>The way I found is to use <code>BigDecimal.valueOf(testVO.getValue())</code> to parse it. </p>
  
  <p>Is there any other better way to solve it?</p>
  
  <hr>
  
  <p>Solved:
  It's not because of scientific-notation problem, <strong>Database can read both number and scientific</strong>. The problem is the utility package I used while parse it to database will convert all value to string type, hoping don't waste your time!  </p>