Jump to content
Changes to the Jaspersoft community edition download ×

facing formula problem in iReport


Recommended Posts

Hai All,


I am facing problem to create a formula for the condition


formula is like that.


( new BigDecimal(($V{planedDuration}.intValue()) /(24)) < 1 ? "<1 DAY" : new BigDecimal(($V{planedDuration}.intValue()) /(24))+" DAYS" )


means if planed duration is < 1 then it wants to display the "<1 day" or > 1day it wnats to display the no of days.


here i am getting error.


The operator < is undifined for the argument type(s) BegDecimal,int


plz help me any one are working on this type of formulas.



Thanks in advance,



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