fork(3) download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.math.*;
  4.  
  5. class Main
  6. {
  7. public static void main (String[] args) throws java.lang.Exception
  8. {
  9. String valorDouble = "-3.04567E-8";
  10. String valorStr = new BigDecimal(valorDouble).toPlainString();
  11. System.out.println(valorStr);
  12. }
  13. }
Success #stdin #stdout 0.1s 320320KB
stdin
Standard input is empty
stdout
-0.0000000304567