Jump to content
Sign in to follow this  
jagarock

How to check if variable is an integer, both positive and negative?

Recommended Posts

jagarock

It seems that IsNumber doesnt return true for negative numbers like -10.

What function can I use in this case, to check if the variable is an integer, no matter if its positive or negative?

Share this post


Link to post
Share on other sites
jagarock

that was easier than suspected. thanks :)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×