Title: Price decimal separators
Last modified: August 22, 2016

---

# Price decimal separators

 *  [kingturban](https://wordpress.org/support/users/kingturban/)
 * (@kingturban)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/price-decimal-separators/)
 * Hey,
    great plugin, one problem though.
 * My PDF invoice is generated with “.” (dot) instead of “,” (comma) as decimal 
   separator which I have set from woocommerce settings. But now and then I get 
   mails from clients with screen shots where prices are wrong, and thats because
   somehow and somewhy sometimes the invoice in generated with “,” as decimal separator.
   Its important for prices to stay the same format because I’m parsing some of 
   these values to floats to get some values that woocommerce doesnt provide. (like
   item line_subtotal without product coupon applied or order total without VAT 
   or cart total without coupons being applied)
 * Thanks
 * [https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/price-decimal-separators/#post-5887022)
 * Hello,
    That’s very odd! The plugin does not generate the prices, they are formatted
   in WooCommerce/by WooCommerce functions. Can you check to see if the decimal 
   separator is the same as the email for the screenshots that you have received?
   I think this is a woocommerce issue rather than a PDF Invoice issue…
 * Let me know what you find!
    Ewout
 *  Thread Starter [kingturban](https://wordpress.org/support/users/kingturban/)
 * (@kingturban)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/price-decimal-separators/#post-5887024)
 * Thanks for your answer,
 * Everywhere else in the page decimal separator is comma, but on on the invoice
   it shows dot and the rare broken invoices that customers get to their emails 
   are the only ones where the separator is comma. (and invoices are broken because
   parsing doesnt work anymore)
 * Any suggestion would be welcome
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/price-decimal-separators/#post-5887026)
 * Hello,
    Can you forward such an email, with attachment to [support@wpovernight.com](https://wordpress.org/support/topic/price-decimal-separators/support@wpovernight.com?output_format=md),
   together with a zip file of your template?
 * Thanks!
    Ewout
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/price-decimal-separators/#post-5887029)
 * Also, are you using only one currency, or is there anything special with these
   orders that use a comma instead of a dot?
 *  Thread Starter [kingturban](https://wordpress.org/support/users/kingturban/)
 * (@kingturban)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/price-decimal-separators/#post-5887064)
 * Sent you an email, im using one currency, so every order should have commas.

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

The topic ‘Price decimal separators’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [kingturban](https://wordpress.org/support/users/kingturban/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/price-decimal-separators/#post-5887064)
 * Status: not resolved