How to do math in a if statement

*explain your goal with as much context as possible
Hi! i am trying to make it so if test = 1 it will make it 15, but if its not 2 or more it will do 15 + ((test - 1) x 10). I am not to sure how to do this, can someone please help?

  • mention any steps you’ve tried so far
    I have tried doing the screenshot below but im not sure how i should do it.

Screenshot:

Hey @luna1

you can try this

{{if(1.test = 1; 15; 15 + ((1.test - 1) * 10))}}

image

3 Likes