Using an input value in multiplication formula

Hi all, please assist me.

I want to make a simple NUMBER TEXT ENTRY so that the VALUE in Rates will be UPDATED to multiplication to that entry entered by user. VALUE in Rates are fixed.

What must I do in the BLOCKS?

Really appreciate it.

What have you tried so far?

Frankly, I don’t know where to start. :frowning:

But if I get the basics building blocks, I can move on from there.

Just that can the RATES label gives a new VALUE or should I create a separate “TOTAL VALUE” label?

You just want to get the text from your text_input and multiply it by the text in your label, right @isazaly?

Is this something like a homework assignment, yeah?

Yes exactly! BUT can the exact same label change to the final calculation results?

Not homework. Just trying to understand the very basics :slight_smile:

I want to build a simple calculator app to our filmmaking community (freelancers) hourly rates.

The FINAL value actually updates on the text-entry label instead. I need the RATES label to be updated instead.

Then replace “from Text_Input1 set Text” with “from RATES set Text”.

1 Like

THANKS tatiang! Now you solved my misery.

But how do I make RATES fixed? Cos every time I set back to 1min, it will calculate base on the new UPDATED value?

Can you show the blocks that use RATES? And when you say “fixed”… the value of a variable won’t change unless you program it to change. So if you set it to a value, it will remain that way.

Screenshot 2020-10-28 at 11.57.51 PM

I found a workaround! I have made RATES_value (100) to “Visible-false”.
And created a new TOTAL Label and made the final calculations appear there instead.

Or are there any efficient way?

Here is the DEMO project: Thunkable