Champak Posted November 30, 2015 Posted November 30, 2015 i need to do some math, unfortunately it seems the numbers im working on is a string and will not calculate. How do i convert a string to to numbers I can calculate? I tried the int() and number() but they are not working for me....or do not do what I think they are supposed to.the number is in a variable which Im trying to check greater and less than, and then do simple additions to. thanks.
ViciousXUSMC Posted November 30, 2015 Posted November 30, 2015 (edited) Number() does exactly what you want, and you can verify with IsNumber() maybe something else is wrong in your syntax/code?Why don't you post so we can check. Edited November 30, 2015 by ViciousXUSMC
Champak Posted November 30, 2015 Author Posted November 30, 2015 Sorry, misspelled the variable, all is good....yall move quick lol. Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now