Jump to content
Changes to the Jaspersoft community edition download ×

One more expression problem


ktrinad

Recommended Posts

By: Darren - darren2003

One more expression problem

2003-04-29 05:23

If I have a expression which involves Integer, how can I do?

 

For example : new Boolean ($F{integer1}.???=0)

 

Thank you!

 

 

 

 

By: Giulio Toffoli - gt78

RE: One more expression problem

2003-04-29 06:16

This resturn TRUE if integer1 is 0:

 

new Boolean ($F{integer1}.intValue() == 0)

 

Thid return TRUE if integer1 is not 0:

 

new Boolean ($F{integer1}.intValue() != 0)

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...