Java assignment of integers to float
<p>I have integers X Y and Z</p>

<p>I have this formula in which I am using to populate a float[][] array</p>

<p>The formula is x/(y*(x+z) in which all 3 are integers</p>

<p>But when calculated the value is 0, which is definitely not as I checked the values of x y and z.</p>

<p>How do I go about preventing this and showing the float value instead?</p>

<p>Many thanks in advance</p>
