You're welcome.
Type: Posts; User: Norm
You're welcome.
I have no answers other than try different combinations of methods and values until you get the one you want.
That's strange. When I ran it I get the following from different tests:
System.out.println("f1="+formatted_1 + " f2="+formatted_2 +", mf="+ money_formatted);
...
Did you try different rounding modes?
What do the scale methods do?
Try some of the other methods of the BigDecimal class. I'm sure one of them will do what you want.
The javac and java programs should answer that for you.
Did you try using the value returned by the round() method?
What are you doing with the value returned by the round() method?