title: C# - Converting a float to an int... and changing the int depending on the remainder
body: <p>This is probably a really newbie question (well, I'm pretty sure it is), but I have a <strong>float</strong> that's being returned and I need a quick and efficient way of turning it into an <strong>int</strong>.</p>
  
  <p>Pretty simple, but I have an exception. If the remainder of the <strong>float</strong> is anything other than .0 then I want to increment the <strong>int</strong>.</p>
  
  <p>Some quick examples:</p>
  
  <p>Float = 98.0, Int = 98<br>
  Float = 98.1, Int = 99<br>
  Float = 6.6, Int = 7<br>
  etc.</p>