I would like to convert my final double value i.e ( 1.0 ) to be printed out like $1.00. How is this possible in Java?
I imported java.lang.* DecimalFormat formatter = new DecimalFormat("#.00");
Not sure how to get the dollar sign in there. I didn't know if there was any other way to do this aside from going "$" + .....