denny199 Posted October 17, 2012 Share Posted October 17, 2012 (edited) Hey there, I'm busy with my new project, but now I'm stuck with one thing. I need to chek something if it's an number or not. Is there a function out there that will do it? Or do I need to work with string.find ? Or maybe a table with only numbers and then loop through it? Regards -Denny Edited October 17, 2012 by Guest Link to comment
Callum Posted October 17, 2012 Share Posted October 17, 2012 Use the 'type' function. For example, the following code; type(10) Will return 'number'. Link to comment
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