title: Math.Floor vs cast to an integral type in C#
body: <p>Are there any reasons one would prefer to use Math.Floor vs casting to an integral type?</p>
  
  <pre><code>double num;
  double floor = Math.Floor(num);
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>double num;
  long floor = (long)num;
  </code></pre>