Check to see if the long is less than zero. Example long myLong = -5L; System.out.println(myLong < 0); Prints "true" if negative. Prints "false" if positive.
Post by:autobot
If you two don't stop this rough-housing somebody is going to end up crying. Sit down and read this tiny ad:
a bit of art, as a gift, that will fit in a stocking