R
Ron
Hello, I want to write some code to determine if a number entered in
a textbox txtnumber is odd or even. How do I do this?
Then if even I want to add 3 to that number and multiply by 4
Or if odd I want to add 2 to that number and multiply by 5
thanks for any help.
a textbox txtnumber is odd or even. How do I do this?
Then if even I want to add 3 to that number and multiply by 4
Or if odd I want to add 2 to that number and multiply by 5
thanks for any help.