Jump to content

Recommended Posts

Posted

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.

Posted (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 by ViciousXUSMC

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...