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.

price calculation goes wrong after value higher then 1.000,00

  1. Hi guys,

    In Gravityforms i added a "product" with calculation.
    It's a simple calculation.. like {numericfield?:23} * 2

    For example the input in {numericfield?:23} = 20
    So the math is 20 * 2.
    If i view the form the product price = 40,00 € <-- this is good!

    Ok so you think it is working correct.
    So i adjust the calculation to {numericfield?:23} * 200
    Input in {numericfield?:23} = 4
    So the math is 4 * 200 = 800,00 € <-- this is also good!

    But then there comes the problem. If you have a math that is or goes beyond the € 1.000,00 it's value goes back to € 1,00

    For example 5 * 200 = 1,00 € <-- this is wrong!!

    Every value more or equel then 1.000,00 goes back to 1,00 .
    A value of € 2.190,50 becomes € 2,19

    How come? Is this a bug??

    If i do the calculation in en NUMERIC field it works perfectly

    please help

    regards Ritchie

    Posted 12 years ago on Tuesday May 29, 2012 | Permalink
  2. Hi there,

    I don't wanna spam this topic but nobody else has this problem??

    Posted 12 years ago on Friday June 1, 2012 | Permalink
  3. David Peralty

    I will send this request to our developers and get back to you as soon as possible.

    Posted 12 years ago on Friday June 1, 2012 | Permalink
  4. Make sure your number field's "Number Format" property is set to "9.999,99", to match the euro number formatting. When doing calculation on a product field based on a number field, you need to make sure the format of the number field matches the format of the currency you are using. If this doesn't solve the problem, let me know and I will dig deeper.

    Posted 12 years ago on Friday June 1, 2012 | Permalink
  5. Hi there,

    The number format was already set to 9.999,99 so that's not the solution. Even if you manual calculated for example 5 * 200 the value becomes 1,00 €.

    So i think it's a bug

    Posted 12 years ago on Monday June 4, 2012 | Permalink
  6. You are right. It is a bug. I was able to replicate it and have a fix ready for anybody that needs it. Email me to alex@rocketgenius.com and I will send you the new version with the fix.

    Posted 12 years ago on Monday June 4, 2012 | Permalink
  7. @Alex, if have send you a email with my normal e-mail adres (Ritchie)... so can you please send the fix to me?

    Thnx

    Posted 12 years ago on Wednesday June 6, 2012 | Permalink