1
I’m having unexpected difficulty displaying decimal numbers in iReports, for example if my variable has the following account 180 / 180 it displays me correctly 1 but if it is 162/180 it displays me only 0 instead of 0.9, my variable is in the Float format in iReport, it takes some extra configuration for it to display the decimal places?
<textField>
<reportElement x="523" y="0" width="32" height="20" uuid="9fc5b15c-8007-478e-aef2-edebe1603ab1"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{centoOitenta} / 180]]></textFieldExpression>
</textField>
Could post jfxml from the field with problems?
– Gustavo Fragoso
@Gustavofragoso I changed the question would be this?
– R.Santos