HI,
I am very new to jasper.so can you please help me to solve this error.
Error:
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. Cannot cast from double to Double
value = (java.lang.Double)(1 - (((java.lang.Float)field_Current_year_cost.getValue()).doubleValue() / (((java.lang.Float)field_Current_year_price.getValue()).doubleValue() * 0.93)));//$JR_EXPR_ID=31$
2. Cannot cast from double to Double
value = (java.lang.Double)(0.93);//$JR_EXPR_ID=12$
Thanks in advance.