I have a table on a jsp which displays data from an mysql table. One column shows the product of the multiplication of two floats from the db. This is the code for the calculation of that field:
<td><%=rs.getFloat("price")* rs.getFloat("available")%></td>
The problem is if for example price = 16.90 and available = 144 then the result = 2433.5999. Why does it not give 2433.6? How can I get 2433.6