Math Calculation

Greetings.

How to calculate values?
label1 component shows number 1, (for example:

1

)
if click “+” button, then it will be increase +1.
How to implement this?

You can store your initial value by using the Variable component. Then add a button to your page and set a dynamic event on mouse click to add 1 to your variable value.

(var1.value + 1)

You can then display the variable on your page.

2 Likes

You should use a variable for that. Set the variable value to 1 and bind it on the page. On click of the buttons use the dynamic events and add the variable.value +/- 1 there.

1 Like