PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Currency Format Euros Bug

  1. All
    Member

    Euro currency auto format bug. This bug doesn't occur in US dollar.

    Overview
    - currency is set to euros
    - new product field
    - radio buttons
    - item1 - price set to numbers below

    Issues
    - enter value 123,456.78 auto corrects to 123,46
    - enter value 123.45 auto corrects to 123,45
    - enter value 1.0 auto corrects to 1,00

    Posted 12 years ago on Thursday May 31, 2012 | Permalink
  2. All
    Member

    any update?

    Posted 12 years ago on Tuesday June 5, 2012 | Permalink
  3. This isn't a bug. The Euro currency settings in Gravity Forms is expecting period thousand separator and a comma for a decimal point. This is the reverse of what the USD currency uses.

    For example:

    Euro would be 1,00
    USD would be 1.00

    Euro would be 1.000,00
    USD would be 1,000.00

    So 123,456.78 formatted as the Euro needs to be entered as: 123.456,78

    This is how the majority of Euro countries format Euro for displaying currency.

    If you want to change this behavior and make the Euro behave like USD with the comma thousands separator and period for the decimal point then you'd have to customize Gravity Forms on your site to do so using the gform_currencies hook.

    That hook is documented here:

    http://www.gravityhelp.com/documentation/page/Gform_currencies

    Posted 12 years ago on Tuesday June 5, 2012 | Permalink

This topic has been resolved and has been closed to new replies.