Pessoal eu criei um parametro no iReport do tipo double (VlTotalCentrosCusto) e tento passar no código um valor do tipo double no java e quando ele imprime traz null
exemplo :
private double vlTotalCentrosCusto;
vlTotalCentrosCusto = getVlTotalCentrosCusto();
mParametros.put("VlTotalCentrosCusto ", vlTotalCentrosCusto);
public double getVlTotalCentrosCusto() {
double total = 0;
for (Iterator iter = getAtividadeCentroCusto().iterator(); iter.hasNext()<img src="https://www.guj.com.br/images/emoji/twitter/wink.png?v=9" title=":wink:" class="emoji" alt=":wink:"> {
AtividadeCentrocusto c = iter.next();
total += c.getVlRateio();
}
return total;
}
Grato;
Diogo Alló