fork(1) download
  1. class Ideone {
  2. public static void main (String[] args) {
  3. String teste = "101010101";
  4. double number = Double.parseDouble(teste);
  5. System.out.println("The number is: " + number);
  6. System.out.printf("The number is: %f", number);
  7. }
  8. }
Success #stdin #stdout 0.11s 321600KB
stdin
Standard input is empty
stdout
The number is: 1.01010101E8
The number is: 101010101.000000