Title: Problem with decimals
Last modified: August 21, 2016

---

# Problem with decimals

 *  [n0th](https://wordpress.org/support/users/n0th/)
 * (@n0th)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/)
 * Dear all,
 * I’m using the woocommerce version 2.1.12 , my problem is the following: everything
   works perfect in the process but after confirming an order, in the Order Details
   page all the decimals appears as ,00 in the subtotals and in the product cost,
   the total cost is correct showing the proper decimals.
 * Before to submit the order, the same information appears with the correct decimals.
 * Thanks
    Ivan
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

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

 *  Thread Starter [n0th](https://wordpress.org/support/users/n0th/)
 * (@n0th)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/#post-5085227)
 * This is exactly what happens:
 * Before submit the order:
    [http://martineztorrejon.es/before_submit.png](http://martineztorrejon.es/before_submit.png)
 * After submit the order:
 * [http://martineztorrejon.es/after_submit.png](http://martineztorrejon.es/after_submit.png)
 * As you can see the total is OK but not the subtotal in the last page.
 * Thanks
    Ivan
 *  Thread Starter [n0th](https://wordpress.org/support/users/n0th/)
 * (@n0th)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/#post-5085273)
 * I saw the same error in the emails so should be some fail in the function used
   to show the orders 🙁
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/#post-5085283)
 * I think you are running W3 Total Cache. I should delete any cached pages and 
   turn off caching until the site is debugged and complete.
 * I can’t tell what theme you are using. Some themes replace some of the WooCommerce
   files with their own versions. Ensure you are using the latest version of your
   theme. If you have paid for the theme, consider asking theme support.
 * Try using the default Twenty Fourteen theme temporarily to be able to rule out
   a theme-specific issue.
 *  Thread Starter [n0th](https://wordpress.org/support/users/n0th/)
 * (@n0th)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/#post-5085286)
 * mm yes Im running W3 Total cached, but Im not caching pages, I´ve changed the
   theme to Twenty Fourteen and the problems remains 🙁
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/#post-5085291)
 * Do you get the same problem if you reset the separator to a full stop instead
   of a comma.
 *  Thread Starter [n0th](https://wordpress.org/support/users/n0th/)
 * (@n0th)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/#post-5085297)
 * Yes, I´ve changed the values and set the separator for decimal by full stop and
   everything appears well in the product page, in the checkout page but in the 
   final overview after submit the order and in the mails the decimals become 0.
 * Quit strange I don’t if is my problem of a kind of bug
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/#post-5085331)
 * I have done what you have on my site and I don’t get this error, and I’ve not
   seen other reports of this, so I don’t thinks its a bug. Its most likely some
   conflict between various parts of your setup.
 * The debug procedure is lengthy and not bound to give a solution. The next thing
   I would try is to deactivate all plugins except WooCommerce. If that resolves
   the problem, reactivate your plugins one at a time to be able to identify which
   plugin is causing the problem.
 * Next, because an apparently inactive plugin can still be having an effect, rename
   the plugins folder to old_plugins, and install a fresh copy of WooCommerce.
 * Ulitmately, try a rebuild: Re-upload all files & folders – *except* the wp-content
   folder and wp-config.php & root .htaccess files – from fresh downloads of WordPress
   and plugins. Make sure that you delete the old copies of files & folders before
   uploading the new ones. Backup the database first if you have not done so.

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

The topic ‘Problem with decimals’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/problem-with-decimals/#post-5085331)
 * Status: not resolved