• Resolved ictxs

    (@ictxs)


    Need to calculate 0.25 cents per KM starting from 20 KM.

    So actually i need a value to be -20 but not become less than 0.

    Any clues?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pbosakov

    (@pbosakov)

    Hi, you may try something like this:

    [calculation result min:0 "0.25 * (km-20)"]

    From the plugin documentation:

    Minimum – by specifying the “min:X” attribute, you can set a minimum value for the result of the calculation. For example, if you specify “min:0”, when the result is negative, it will always be set to zero instead.

    Hope that helps!

    Thread Starter ictxs

    (@ictxs)

    Hi,

    To be able to use that option I should have the pro version I guess?
    Is it a one time purchase or a yearly subscription?

    Fala mnogu do sega.
    Pozdrav!

    Plugin Author pbosakov

    (@pbosakov)

    Hi, the minimum/maximum option is available in the free version hosted here on www.ads-software.com. Let me know in case it does not work as expected.

    Thread Starter ictxs

    (@ictxs)

    Hi,

    I understand, but I need to calculate 2 other price factors as well.
    Using a second hidden calculationfield in the form it does not display the visible one.

    Is it a one time purchase or a yearly subscription?

    • This reply was modified 4 years, 11 months ago by ictxs.
    Plugin Author pbosakov

    (@pbosakov)

    Thank you for your interest! As per the forum guidelines, on these message boards we are only allowed to discuss the plugin that’s hosted on www.ads-software.com. I would be happy to answer any pre-sales questions related to the Pro version on my website.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need help on a calculation’ is closed to new replies.