fork(1) download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.math.*;
  4. import java.text.*;
  5.  
  6. class Main
  7. {
  8. public static void main (String[] args) throws java.lang.Exception
  9. {
  10. Double valorDouble = new BigDecimal(10000000000L).doubleValue();
  11. DecimalFormat df = new DecimalFormat("0E0");
  12. System.out.println(df.format(valorDouble));
  13. }
  14. }
Success #stdin #stdout 0.13s 321088KB
stdin
Standard input is empty
stdout
1E10