Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Our plugin includes the operation ROUND, FLOOR, and PREC, the most similar operation to the ROUNDDOWN is PREC

    PREC(fieldname1,2)

    but the last two digits can be rounded down or up, so, my recommendation is to use a combined operation like follow:

    PREC(FLOOR(fieldname1*100)/100,2)

    Best regards.

    Thread Starter WillBigGun

    (@willbiggun)

    That’s awesome. How could we round to the nearest 4 decimals? Like making 0.46634885 = 0.4663

    Regards

    Plugin Author codepeople

    (@codepeople)

    Hi,

    You simply should follow the same process, use the operation:

    PREC(fieldname1,4)

    or to obtain exactly the same result of ROUNDDOWN:

    PREC(FLOOR(fieldname1*10000)/10000,4)

    Best regards.

    Thread Starter WillBigGun

    (@willbiggun)

    Hi there,

    Is there a way to let the user see the submitted data they have input on another screen? Like a quote summary screen?

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, that’s possible. There are two way to do that; displaying the summary directly in the form, before the submission, or displaying the summary in the thank you page (the option with the thank you page is only available in the paid versions of the plugin).

    To display the summary in the form you simply should insert a summary field in the form, and select the other fields to include in the summary.

    To display the summary in the thank you page is very similar but you should use a shortcode.

    Please, check the following questions in the FAQ of the plugin (https://www.ads-software.com/plugins/calculated-fields-form/faq/):

    Q: Could be displayed a summary of submitted fields in the thank you page?

    Q: Could you show only a subset of submitted fields in the summary inserted in the thank you page?

    Q: Is possible formatting the thank you page?

    Best regards.

    Thread Starter WillBigGun

    (@willbiggun)

    Great I bought it. I want to have some calculated fields be hidden on the summary thank you page. Hoe do I do this?

    Plugin Author codepeople

    (@codepeople)

    Hi,

    In this case you should select only the fields that will be included in the summary, through the “fields” attribute of the shortcode inserted in the thank you page. Please, read the answer to the question:

    Q: Could you show only a subset of submitted fields in the summary inserted in the thank you page?

    in the FAQ page of the plugin.

    Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Rounddown formula’ is closed to new replies.