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