---
title: How does Pricepep round discounted prices?
description: "Pricepep rounds each discounted unit price to your store's decimals, then WooCommerce multiplies by quantity. Why totals can differ by a few cents."
url: "https://pricepep.com/docs/how-does-pricepep-round-discounted-prices/"
updated: "2026-12-02"
category: FAQ
---

# How does Pricepep round discounted prices?

Pricepep rounds each discounted unit price to the number of decimals set in **WooCommerce > Settings > General** (usually 2). WooCommerce then multiplies the unit price by the quantity. So a line total can differ by a few cents from a percentage of the line total.

Example: a $4.00 product, 10.71% off, quantity 20.

| Calculation | Result |
| --- | --- |
| Unit price: $4.00 − 10.71% = $3.57158 | rounded to $3.57 |
| Line: 20 × $3.57 | $71.40 |
| 10.71% off the line total ($80.00) would be | $71.43 |

Group and range prices are exact: with **Fixed price per group** ([group of products](/docs/group-of-products/)) or **Fixed price per range** ([tiered pricing](/docs/tiered-pricing/)), the last unit takes the leftover cent so the total matches the price you set. For example, 3 for $10 gives $3.33, $3.33 and $3.34.

Developers can change rounding with the `rightpress_product_price_rounded_price` and `rightpress_product_price_decimals` filters; see the [filter reference](/docs/filter-reference/).

## Can prices end in .99?

Not with a setting. A developer can add the [.99 example of the `rp_wcdpd_product_pricing_adjusted_unit_price` filter](/docs/filter-reference/#rp-wcdpd-product-pricing-adjusted-unit-price): a discounted $12.40 then costs $12.99 in the cart. The [Volume Pricing Table](/docs/volume-pricing-table/) doesn't run that filter with its default **Price adjustments to include** setting, **First applicable volume pricing rule only**, so it can show $12.40 for a range that the cart charges $12.99 for. With **All applicable pricing rules & third-party adjustments** the table works its prices out as the cart does, filter included.

## Related articles

- [Shop shows a different price than the cart](https://pricepep.com/docs/prices-shown-vs-charged/)
- [Group of products: set prices like 3 for $30](https://pricepep.com/docs/group-of-products/)
- [Simple adjustment: discount, markup or fixed price](https://pricepep.com/docs/simple-adjustment/)
- [Pricepep filter reference: all apply_filters hooks](https://pricepep.com/docs/filter-reference/)

All articles in [FAQ](https://pricepep.com/docs-category/faq/)
