macmangler Posted January 11, 2007 Posted January 11, 2007 Hey... I need a quick calc to determine if a number is whole = True, but if it is a fraction it is false...any thoughts? Example 32 / 4 = 8 (True), but 33/4 = 8.25 (False) Thanks in advance for your thoughts. Mike
Raybaudi Posted January 11, 2007 Posted January 11, 2007 or, if you have the number: not ( number - Int ( number ) ) ... or even: number = Int ( number )
Recommended Posts
This topic is 6525 days old. Please don't post here. Open a new topic instead.
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