@Fox Ok nevermind thanks for the help. I didnt see that link when I searched that link you sent me. But all I had to do was remove the quotation marks in my own script and it worked.
Just change type of input field where you
enter numbers. You most likely are using
"string" type instead of "int" or "expression"
which will suit in your case.