• Resolved williamvwijk

    (@williamvwijk)


    Is it possible to set up a minimum value?
    For example:

    (function(){

    if(fieldname4==’Vouwwagen’) return 0.36*fieldname2;

    })();

    I want the value to be 100, when it’s calculated under 100.

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @williamvwijk,

    Yes, that’s possible and very easy, you simply should use the operation “MAX”, modifying the equation as follows:

    (function(){
    if(fieldname4=='Vouwwagen') return MAX(0.36*fieldname2,100);
    })();

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Minimal value function’ is closed to new replies.