> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yaycurrency/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yaycurrency/configurations/custom-rounding.md).

# Custom Rounding

If you wish to round product prices to a specific ending figure, you can enable the **Rounding** feature.

### 1. Set up WooCommerce price rounding

Head over to **YayCurrency** > **Manage Currency** > **Action**.

Click the Gear icon to find the Custom Rounding section.&#x20;

![Implement custom rounding with the YayCurrency plugin](/files/xq6vNFGW91LOzn7UqntL)

Rounding comes with 3 options:&#x20;

* Up
* Down
* Nearest

And a variety of thresholds:&#x20;

* 0.10&#x20;
* 0.50&#x20;
* 1&#x20;
* 10&#x20;
* 100&#x20;
* 1000

Depending on your target currency and the best practices of its national culture, you can choose to round the price up/down/nearest to the custom threshold.

**Note**: In order to reduce the loss, we recommend you round up the product prices.

**Examples of how to round numbers**:

365.365 becomes:

365.40 when rounding up to the threshold 0.10

365.50 when rounding up to the threshold 0.50

366 when rounding up to the threshold 1

370 when rounding up to the threshold 10

400 when rounding up to the threshold 100

1,000 when rounding up to the threshold 1000

### 2. Auto-deduct an amount from the rounded price

This option allows you to deduct a small amount from the converted and rounded price.

You can use it to make the price end in your favored digits such as 0.49 or 0.99 and so on.

Eg: 370 becomes 369.99 after deducting 0.01

### 3. Test the Price Ending

In the bottom fields, you can easily enter any test amount to double-check the outcome of custom rounding and subtraction.

![365.365 becomes 365.99 after rounding up to the nearest threshold 1 and deducting 0.01](/files/-McOAiKhEyxKpHPm0JIx)

Happy Price Ending! 🧡
