Text box to integer

hey there
I’m creating a ATM system where you have to enter value in text box and deposit the cash to this ATM
my question ….how could i get this text box and get the amount ( value to deposit ) from text box to integer variable
so I can make a branch to check if this integer value equal to cash ……if the value equal I can run another check to add this cash to ATM * deposit )
hope you understand what I want ….I’m still a beginner :0

Like this:

326956-screenshot-2.jpg

Take the pin from the txt variable, and look for ‘tostring’, then plug it into the int :slight_smile:

1 Like