Hello, I'm trying to create a complex expression that uses a comparison operator, however Jasper throws errors when it trys to compile my report. $F{BUDGET_AMOUNT}).intValue()==0? 0:new Double($F{BUDGET_SPENT_AMOUNT}.doubleValue() / $F{BUDGET_AMOUNT}.doubleValue()) The BUDGET_AMOUNT coming from my db is a double, however I need to convert it to an int for the comparison, I assume I also need to convert a part of this to a boolean but I'm not quite sure how to do that. Any help is appreciated.