title: Multiplying integer by float results in NaN in logcat
body: <p>So I`m creating a game for Android and I have a variable named screenHeight which is equal to 1080. The following piece of code results in an NaN when I try to output it to logcat:</p>
  
  <pre><code>screenHeight * 0.08f;
  </code></pre>
  
  <p>However, when I have this it works perfectly fine:</p>
  
  <pre><code>screenHeight * 0.10f;
  </code></pre>
  
  <p>What`s even more strange is that a couple of months ago the first line of code worked perfectly fine. With no changes to the code, the same piece of code stopped working. I am working in Android Studio so maybe the compilation is wrong (bug in Android Studio?) or something in my phone is wrong as I am using USB debugging. I would really appreciate some help thank you! </p>
  
  <p>EDIT:</p>
  
  <p>Now even the second line of code results in NaN.... How is the same piece of code acting differently different times when I am changing nothing else? </p>