Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthordp2
    • CommentTimeFeb 6th 2008
     
    In the following template example
    http://app.formassembly.com/forms/catalog/2761

    I am attempting a mod of the percentage.
    Unable to adjust the percentage discount to 5% from 50%
    If 50% = 0.05 you would expect 5% = 0.005

    What would be the correct formular
    • CommentAuthorcedsav
    • CommentTimeFeb 6th 2008 edited
     
    The formula on this form is something like this: TOTAL = SUBTOTAL*DISCOUNT

    For a 50% discount, DISCOUNT = 0.5
    If you want a 5% discount, The value for DISCOUNT should be 0.95


    You could rewrite the formula like this : TOTAL= SUBTOTAL - SUBTOTAL*DISCOUNT, if that makes more sense. In this case, 5% would be DISCOUNT=0.05

    Hope that helps