Jump to content
Changes to the Jaspersoft community edition download ×

How to print value 0 when it's null?


ktrinad

Recommended Posts

By: Marcelo - mike81

How to print value 0 when it's null?

2003-07-21 14:05

Hi, all.

 

How I make to print value 0 when a double field is null?

 

 

 

 

By: Gregory A. Swarthout - gswarthout

RE: How to print value 0 when it's null?

2003-07-21 14:11

Make your textFieldExpression:

 

${Variable} != null ? ${Variable} : new Double(0)

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