Taking a square root in Java, answer appears as 0.0. Why?

Printable View