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.

Comma in calculations

  1. Hi,
    i'm using gravity form in my site to calculate the price of the prints i made based on various choices.
    The principal choice is the dimension.
    I noticed that if i try to use decimal ( for example 34,5 cm ) the number it's recognised as 345.
    Even if i use the . instead of the comma.
    Is there something i can do?

    Posted 6 years ago on Tuesday March 19, 2013 | Permalink
  2. Please provide a link to the page on your site where we can see this form in action. Thank you.

    Posted 6 years ago on Thursday March 21, 2013 | Permalink
  3. Thank you.
    http://fineartprinted.com/shop/fineart-scelta-veloce/
    you need to select avanzate to be able to see the custom dimensions.
    If you see the final price you will notice that is really not possible...

    Posted 6 years ago on Thursday March 21, 2013 | Permalink
  4. Can you show the calculations you are using for the Total Width and Total Height fields? Are those the only calculations on the page which are incorrect when using a comma for the decimal separator, or are other prices incorrect as well?

    Posted 6 years ago on Sunday March 24, 2013 | Permalink
  5. it's complex.
    I have several calculations that toghether give the final price.
    But in all of them i use internal numbers with decimal and separator. The decimal does not works only in the imput field.
    But i respect the decimal separator choosen.

    Posted 6 years ago on Monday March 25, 2013 | Permalink
  6. Can you share the calculation you're using exactly? Please paste it at pastebin.com or pastie.org. We can use your calculation in a form and see if we have the same results.

    Posted 6 years ago on Monday March 25, 2013 | Permalink
  7. There was an issue with calculations for currencies which use a comma for the decimal separator in 1.7beta1, which has been fixed in beta2.

    http://www.gravityhelp.com/gravity-forms-v1-7-beta-2-released/

    Fixed issue with calculation fields on currencies that use a comma as the decimal separator.

    Which version are you using?

    Posted 6 years ago on Tuesday March 26, 2013 | Permalink
  8. I still have this problem.
    You can try in this page:
    http://fineartprinted.com/shop/fine-art-baryta-325/
    Furthermore if i try with Google Chrome the numer like 2,5 are recongnised as 25 and in Opera the number after the comma disappear. Only in Internet Explorer the number are well calculated. I really need to fix that.
    How?

    Posted 6 years ago on Thursday July 4, 2013 | Permalink
  9. Handling via support ticket.

    Posted 6 years ago on Wednesday July 17, 2013 | Permalink

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