Set scale with rounding mode to ensure correct decimal places.
For currency, it's common to round to two decimal places. Use setScale() with RoundingMode to ensure correct rounding. For instance, rounding a price to two decimal places ensures correct display in a shopping cart.