This has been asked before, but the answers are years out of date (a decade in some cases).
If I have a double value and want to round it to 2 decimal places (eg, 200.3456 to 200.35), what is the best method to do it in Java 12 and 13? Some of the numbers I'm using have whole number parts in the tens-of-thousands range (eg, 95,000.00).
For the sake of completeness, does the method make any difference if I only want to print the result as text?