Jump to content

How do I determine if a Double is greater than zero in jasper?


Recommended Posts

Hello there, im trying to set a style that activates if the value of the field is less or greater than zero, I have tried doing something like this $F{field_name} > 0.0, but its says that operator "<" is undefined, I also tried something like  new Double($F{field_name}.doubleValue() >0.00) but then it says  The constructor Double(boolean) is undefined, can someone help me?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...