title: How can I check whether a double has a fractional part?
body: <p>Basically I have two variables:</p>
  
  <pre><code>double halfWidth = Width / 2;
  double halfHeight = Height / 2;
  </code></pre>
  
  <p>As they are being divided by 2, they will either be a whole number or a decimal. How can I check whether they are a whole number or a .5?</p>