• Resolved jlstysis

    (@jlstysis)


    My chosen WP locale sets the decimal separator to be comma (example: $5,12)
    I’d like to force WordPress to use the period as decimal separator (example: $5.12) either for my chosen locale or irrespective of any locale.

    I have not been able to find any code snippets that work. Any help would be greatly appreciated!

    Thank you in advance.

    • This topic was modified 2 years, 6 months ago by jlstysis.
    • This topic was modified 2 years, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
    • This topic was modified 2 years, 6 months ago by James Huff.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @jlstysis!

    Have you tried setting the period as a decimal separator in WooCommerce → Settings → General → Currency options?

    Thread Starter jlstysis

    (@jlstysis)

    Yes, of course. But that only affects Woocommerce. I have a membership plugin that works outside of Woocommerce and does not inherit the format settings from Woocommerce. It’s a global WrodPress setting somewhere. That’s why I did not post this in the Woocommerce forum, but in the general WordPress forum.

    • This reply was modified 2 years, 6 months ago by jlstysis.

    Hello @jlstysis!

    That’s why I did not post this in the Woocommerce forum, but in the general WordPress forum.

    I can see that you opened the thread on the WooCommerce forum. ??
    If you wanted to post it on the general WordPress forum then I suggest you create a new thread on this or this forum.

    I have a membership plugin that works outside of Woocommerce and does not inherit the format settings from Woocommerce.

    I believe it will be best if you reach that plugin’s support to get helped with this.

    Cheers!

    Hi there,

    We haven’t heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, the provided information was helpful, and you solved the issue. If you have any further questions, we recommend creating a new thread.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Force Currency/Decimal Format’ is closed to new replies.