I need to perform a check in the expression
field on my report created in Jasperreports studio
, my situation is as follows, I need to make the following account:
$F{quantidade}/($F{quinze}/15.0)
But sometimes the count ($F{quinze}/15.0)
results in zero, and it is not possible to divide by zero, so the infinity symbol ends up appearing in my report, my need is to verify that the ($F{quinze}/15.0)
in 0
I want to change the return so that it is only $F{quantidade}
and not the result of the account