Jump to content
We've recently updated our Privacy Statement, available here ×

Replacing 1/0 with Y/N


miles120

Recommended Posts

I'm new to iReport, and am hung on one small issue. I'm trying to print a Y/N field on my report, from data that is cast as a BigDecimal. I've tried this many ways, but I'll just post one of them here:

 

($F{billable} == 1) ? "Y" : "N"

 

The error I receive during compilation is "Incompatible operand types Integer and int". Any help would be greatly appreciated.

Link to comment
Share on other sites

  • Replies 3
  • 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...