Greetings.
The simple sub below is passed a double variable for the purpose of setting a couple of other variables. The problem is that when I pass it a value of 500000 or 1000000 it is not providing the expected result. If AwardTotal is 1000000 I would expect AwardLevel to be 3 and ynSCplan to be set to true, but that's not what happens. AwardLevel gets set to 3, but ynSCplan is still false.
Yes, the variable coming into the sub is also "double".
Any idea as to why? Surely it's a "type" thing, no?
Thanks!
Bookmarks