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
As Robert has pointed out in his answer: DecimalFormat is neither synchronized nor does the API guarantee thread safety (it might depend on the JVM version/vendor you are using).
Use Spring's Numberformatter instead, which is thread safe.