title: Parsing a floating point number with mantissa in Java
body: <p>Using the standard Java <code>Double</code> class to parse a floating point number with mantissa seems to omit the + sign from the exponent.</p>
  
  <p>For example:</p>
  
  <pre><code>Double.parseDouble("1258124354E-28") returns 1.258124354E-19, but
  Double.parseDouble("1243544322E+24") returns 1.243544322E33 (not E+33)
  </code></pre>
  
  <p>Is there any way to get the + sign using Double, without string post-processing?</p>
  
  <p>The <code>BigDecimal</code> class does a better job, e.g.</p>
  
  <pre><code>new BigDecimal("1243544322E+24").toString() does return 1.243544322E+33
  </code></pre>
  
  <p>but it is generally slower than <code>Double</code>, which shows in intensive processing.</p>