Hi everyone, I’m trying to build out a quiz that asks for a number (annual cost) and service (multiple choice). Each option on the multiple choice is tied to a percentage and the results page should display the final calculation of Annual Cost * Service Percentage. Is there a way to set up logic that will display that amount? Thank you in advance for the assistance!
Answered
Calculation in Results Page
Best answer by john.desborough
- create a variable say v_total
- logic rules
- if annual cost is greater than 0 add annual cost to v_total
- if mc is A then multiply v_total by value for A
- if mc is B then multiply v_total by value for B
note that since you can’t have a decimal value in the for “value of A”, etc. you would then have to divide the v_total by 100 to make it work out.. ie 1000 x 40 / 100 is the way to calculate 1000 * .4
des
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.