04-15-2008, 04:59 PM
Hey guys,
I have a variable that is getting passed to me in the form of -
VarA = $2000.
My problem is when i start to try and use this variable as an Integer....such as when i try and add my variable to another integer -
VarA + 300 = VarB
Here i get a "type mismatch" error. (due to the $ sign in front of the 2000)
My question would be does anybody know how i can strip the $ sign away so that im left with just the Integer?
Thanks,
Brian
I have a variable that is getting passed to me in the form of -
VarA = $2000.
My problem is when i start to try and use this variable as an Integer....such as when i try and add my variable to another integer -
VarA + 300 = VarB
Here i get a "type mismatch" error. (due to the $ sign in front of the 2000)
My question would be does anybody know how i can strip the $ sign away so that im left with just the Integer?
Thanks,
Brian