Title: Woocommerce Analytics CSV export decimal separator
Last modified: October 10, 2022

---

# Woocommerce Analytics CSV export decimal separator

 *  Resolved [dashastone](https://wordpress.org/support/users/dashastone/)
 * (@dashastone)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-analytics-csv-export-decimal-separator/)
 * Hi, for German financial system, we need the CSV export prices generated in Woocommerce
   Analytics (revenue and others) with decimal separator being a comma instead of
   a point, i.e. 10,00 instead of 10.00 – how can this be achieved? Also, if we 
   have comma-separated decimals, we would need a semicolon-separated CSV instead
   of comma-separated?
 * I found this snipped, but I doubt it only affects CSV export:
 * function my_change_separator( $price ) {
    return str_replace( ‘.’, ‘,’, $price);}

Viewing 1 replies (of 1 total)

 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-analytics-csv-export-decimal-separator/#post-16087314)
 * Hi [@dashastone](https://wordpress.org/support/users/dashastone/)
 * Thanks for reaching out!
 * I understand that you want to use the comma as a decimal separator when exporting
   reports in WooCommerce Analytics.
 * These forums are meant for general support with the core functionality of WooCommerce
   itself. What you want to achieve is a bit complex and would require customization
   to do it. Since custom coding is outside our scope of support, I am leaving this
   thread open for a bit to see if anyone can chime in to help you out.
 * Meanwhile, I found that the [WP All Export](https://wordpress.org/plugins/wp-all-export/)
   plugin can use the code you provided based on this [forum thread](https://wordpress.org/support/topic/problem-with-decimal-separator/).
 * For questions related to development and custom coding, your best bet is to ask
   on any of these channels for support. We’re lucky to have a great community of
   open-source developers for WooCommerce, and many of our developers hang out there,
   too.
 * – [WooCommerce Developer Resources Portal](https://developer.woocommerce.com/)
   –
   [WooCommerce Advanced Facebook group](https://www.facebook.com/groups/advanced.woocommerce/)–
   [WooCommerce Community Forum](https://wordpress.org/support/plugin/woocommerce/)–
   [WooCommerce Developer Slack Channel](https://woocommerce.com/community-slack/).–
   Hire a [WooCommerce Expert](https://woocommerce.com/experts/)

Viewing 1 replies (of 1 total)

The topic ‘Woocommerce Analytics CSV export decimal separator’ is closed to new 
replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3640790)
 * [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/)

 * 1 reply
 * 2 participants
 * Last reply from: [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-analytics-csv-export-decimal-separator/#post-16087314)
 * Status: resolved