Is it possible to round the total to the nearest whole number?

  • bto09
    Asked on April 24, 2014 at 10:29 PM

    For example, after all the charges the total comes to say $51.36 - I would like this to be rounded down to $51 (if it were $51.60 than I would like it to be rounded up).

  • Cesar
    Replied on April 25, 2014 at 1:06 AM

    Unfortunately, this is not possible using our Payment Tool as it performs basic calculations of the prices of your items. You can still attempt to achieve this by downloading your form's source code and adding the custom JavaScript code.

    Please be noted that if you use your form's source code, any changes you make in your form in editor will not reflect in your form. You will have to download your form's source code and add the custom JavaScript codes again.

     

    Thank you

     

    Realted Article:
    -How-to-get-your-Form-Source-Code