I need to format to currency. I would like to do it using "import java.text.NumberFormat", but I don't know how or understand.
Example: I want to add .50, .60, .40. These three numbers would be formatted uisng the (0.##) "I guess", then the "Total" would be, using the numbers above $1.50 . How do I do that? I know how in Visual Basic, but can't seem to figure the code out in Java as I am new to Java. THANKS.