maria.pereira Posted October 3, 2016 Share Posted October 3, 2016 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.BigDecimalCan someone help me? Link to comment Share on other sites More sharing options...
hozawa Posted October 3, 2016 Share Posted October 3, 2016 Seems like either cenaOd or lacznyStan is an Integer and not a BigDecimal. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now