Champak Posted November 30, 2015 Share 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. Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted November 30, 2015 Share 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 Link to comment Share on other sites More sharing options...
Champak Posted November 30, 2015 Author Share Posted November 30, 2015 Sorry, misspelled the variable, all is good....yall move quick lol. Thanks. Link to comment Share on other sites More sharing options...
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