vk01 Posted November 14, 2007 Share Posted November 14, 2007 hello - does this look about right - ---(($F{D_S}.equals(new java.lang.Integer(1)))? $F{SECONDS} : new Integer(0))---$F{D_S} is an integer with values 1, 2, 3, 4 - i am checking if it equal to 1 then add the seconds - this is within a group. Link to comment Share on other sites More sharing options...
vk01 Posted November 14, 2007 Author Share Posted November 14, 2007 Never mind - it got the field from database as BigDecimal by default, I had to change this to Integer. Thanks! 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