vk01 Posted November 13, 2007 Share Posted November 13, 2007 Hi, Like we compare the equals for a variable that is of type integer how would one compare "not equals"? I did try != but that did not work? Thanks! (($F{ACTIVITY}.equals("OD")) || ($F{ACTIVITY}.equals("SO"))) ? $F{SECONDS} : new Integer(0)) Link to comment Share on other sites More sharing options...
sivakrith Posted November 13, 2007 Share Posted November 13, 2007 try (!($F{ACTIVITY}.equals("OD")) || (!$F{ACTIVITY}.equals("SO"))) ? $F{SECONDS} : new Integer(0)) Link to comment Share on other sites More sharing options...
Recommended Posts
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