Title: Rounding problems
Last modified: November 14, 2019

---

# Rounding problems

 *  [jaak69](https://wordpress.org/support/users/jaak69/)
 * (@jaak69)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/rounding-problems/)
 * Hello,
 * I’ve run into rounding problems (prices come to shop as they are in ERP).
    -  Prices are displayed 2 digits after decimal
 * Example. Price without tax is 9,825. VAT rate is 20%. Then calculating with table
   calculator I get correct result 11.79. But WooCommerce is calculating 11.80. 
   When I reduce the price from 9.825 -> 9.824 the result is 11.78.
 * Woocommerce is rounding in step 0.02. How can I get precision 0.01?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [6 years, 5 months ago](https://wordpress.org/support/topic/rounding-problems/#post-12165846)
 * You can change the number of decimals that are displayed to force the calculation
   to stop rounding up to two decimals.
 * That can be changed from **WooCommerce > Settings > General > Currency options
   > Number of decimals**. Since your price is set up with three decimals, I’d recommend
   selecting 3 decimals in that setting.
 *  Thread Starter [jaak69](https://wordpress.org/support/users/jaak69/)
 * (@jaak69)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/rounding-problems/#post-12184727)
 * Hello,
 * I’ve tried that. But in the shop frontend, three decimals look quite weird and
   because the pricing data coming from the ERP is not fixed to three decimal places(
   in ERP the users are entering prices with VAT and for API connection ERP calculates
   prices without VAT). Therefore is there are more options on how the rounding 
   will work correctly?
    -  This reply was modified 6 years, 5 months ago by [jaak69](https://wordpress.org/support/users/jaak69/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Rounding problems’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jaak69](https://wordpress.org/support/users/jaak69/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/rounding-problems/#post-12184727)
 * Status: not resolved