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) or Fixed price per range (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.
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: a discounted $12.40 then costs $12.99 in the cart. The 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.