Discount aplication

hello I want to create an application to calculate the balance reduction but I do not understand how to calculate and display it in the block created I have a slider to choose the percentage
thanks for your help
.

Please show your relevant blocks

i have nothing for the moment i begining

You could try something like this

In order to avoid errors, set textbox to numbers only

2 Likes

In order to set the textbox to numbers only, enable numbers only on the properties panel.

1 Like

There is a Discount Calculation block in my MathTools extension btw. You could use it to reduce the number of blocks in your blocks area.

#off-topic

I'm one of the people who hate too many blocks in the workspace, this is why I have so many blocks in my extension, to reduce the number of blocks in the workspace. Are you one of them too ?

  • Yes
  • No

0 voters