How do I format a number in Java? What are the "Best Practices"?
Will I need to round a number before I format it?
32.302342
Try this:
String.format("%.2f", 32.302342342342343);
Simple and efficient.