blackey Posted November 10, 2006 Share Posted November 10, 2006 Is there a way to change a string into a number? i'm reading number values from a text file and need to do calculations depending upon the the size of the number. Thanks. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 10, 2006 Developers Share Posted November 10, 2006 Is there a way to change a string into a number? i'm reading number values from a text file and need to do calculations depending upon the the size of the number.Thanks.Number() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Rauto Posted November 10, 2006 Share Posted November 10, 2006 Global $num,$x="009" $num=number($x) MsgBox(0,"",$num) Link to comment Share on other sites More sharing options...
blackey Posted November 10, 2006 Author Share Posted November 10, 2006 Global $num,$x="009"$num=number($x)MsgBox(0,"",$num)Thank you very much i'm usually pretty good at figuring this stuff out. 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