I am looking for a way to test an integer value to see if it is positive or negative so I can perform the required actions. Can anyone provide help with this?
Printable View
I am looking for a way to test an integer value to see if it is positive or negative so I can perform the required actions. Can anyone provide help with this?
If the number > 0, it's positive.
If the number < 0, it's negative.
If the number = 0.... Well, you can argue on this...