I'm having an unexpected difficulty to display the decimal numbers in iReports, for example if my variable has the following account 180/180 it displays me correctly 1 but if it's 162/180 it only displays 0 to me instead of 0.9, my variable is in the Float format in iReport, does it need any more configuration 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>