How would you use the `round()` method to round a floating-point number to 2 decimal places in Java?
You would use `round()` to round to the nearest integer, and then multiply or divide by 10 to achieve 2 decimal places.
That's correct! Youâ€™ve identified the general approach.
Can you give an example using `round()` to round a number to two decimal places, and explain the logic behind it?