class Ideone {
	public static void main (String[] args) {
		String teste = "101010101";
		double number = Double.parseDouble(teste);
		System.out.println("The number is: " + number);
		System.out.printf("The number is: %f", number);
	}
}

//https://pt.stackoverflow.com/q/126681/101
