I am at a total loss here.. In my script's if statement:
if (text > GetAmtGoldBank(bankbox))
and for testing purposes, text is 10000 and the function returns 9500(I made triple sure that there are in fact the values)
but for some (probably) simple reason its turning out false.. if I put 10000 > 9500 directly it works, so I'm assuming it has something to do with using variables, so I am wondering if there is some sort of int() or num() function I can use that converts the variables to... calculatable(for lack of a better word) numbers
10000 > 9500 = false?
Moderator: POL Developer
-
- Grandmaster Poster
- Posts: 120
- Joined: Thu Jan 18, 2007 2:34 am
Re: 10000 > 9500 = false?
Try this
Code: Select all
if (CInt(text) > GetAmtGoldBank(bankbox))
Re: 10000 > 9500 = false?
Aha! perfect! Thank you so much