# 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](https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_yR1oHovFi42XBPZIi%2Fuploads%2FQHymu8GROGISbGWVSyn5%2F4.png?alt=media\&token=0f517dfa-f5f9-4015-a405-43811d32afb6)

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](https://2217518750-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M_yR1oHovFi42XBPZIi%2F-McNqfdeAru2aNl_nl56%2F-McOAiKhEyxKpHPm0JIx%2Fenter%20a%20test%20amount%20for%20custom%20rounding.png?alt=media\&token=fcc56136-1b08-4c72-9113-db03bba502c9)

Happy Price Ending! 🧡
