How print data starting of a given value BigDecimal?

0

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?

maria.pereira's picture
Joined: Sep 6 2016 - 1:50am
Last seen: 4 years 5 months ago

1 Answer:

0

Seems like either cenaOd or lacznyStan is an Integer and not a BigDecimal.

hozawa's picture
70030
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 8 months ago
Feedback