Math can't accept negative numbers


I'm always getting this error: The operation * cannot accept the arguments: , [""], [10] when "global Money" gets to 0 or below. Sometimes i get the message at the + functions as well.

This procedure should check if there is enough money to spend and if not, put the money amount back to before and show a hint that there isn't enough money.

What am i doing wrong? :disappointed_relieved:


As you can see from the error message, the error occurs while multiplying an empty string with 10...

In the second part of your screenshot you forgot to check, if the textboxes are not empty before multiplying. .


"not to see the woods for the trees..."

Man i'm ashamed... :see_no_evil: Thank you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.