Jump to content
Changes to the Jaspersoft community edition download ×

How print data starting of a given value BigDecimal?


maria.pereira

Recommended Posts

I`m doing a report and I have to print all of the data starting from a given value, passed as parameter. For example, I want print a relation of all of products that the availability is at least x, that is, I will print the products that have stock f x and x+. My related parameter and field are BigDecimal, I didn`t get trying this way: 

    ($P{cenaOd} != null ?$F{lacznyStan}.equals($P{cenaOd}): true )

It appears the following error: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal

Can someone help me?

Link to comment
Share on other sites

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