title: Multiplying and dividing variables
body: <p>I know this sounds simple and it's probably just something I am missing but here is what is happening. I have two variables that needed to be divided then multiplied by another variable. The two variables divided come out perfect but when I multiply that sum by the next variable it comes out horribly wrong (at least to me)</p>
  
  <pre><code>$horiFOV = 20;
  $distObj = 35;
  
  $sensorWidth = mysql_query("SELECT camlist.width FROM camlist WHERE camlist.camera = '$camSelect'");
  
  $lensCalc = $distObj / $horiFOV;
  $lensCalcA = $lensCalc * $sensorWidth;
  </code></pre>
  
  <p>I split them like this so I could echo the results of each. Also the mysql query results as 4.80
  But the result of all this comes out to 12.25 where it should come out to something like 8.4.</p>
  
  <p>Mind you this is all based off an excel spreadsheet that I am recreating on the web.</p>