#Error in If
12 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @wise crest! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
you have to convert the string to an integer in order to compare the two, try: Integer.parseInt(Pregunta)
ah
you gotta set that value
int val = Integer.parseInt(Pregunta)
like that, and then compare using val
but, I did that