As mentioned, look at the API for that method
NumberFormat (Java Platform SE 6)
The method takes a double and returns a String. Your code is written such that the method takes a double and returns...