title: Ceil positive float and floor negative float
body: <p>Is there a shorter way of doing this instead of checking whether the float is positive or not and do the if statement as following? (Using Unity5 with c# script)</p>
  
  <p>Expecting</p>
  
  <p>1.0, 1.4, 1.7 => 2 (I figured that Ceil 1.0 yields 1.. any help with this too?)</p>
  
  <p>-1.0, -1.4, -1.7 => -2 (Floor -1.0 yields -1..)</p>
  
  <pre><code>if (float &lt; 0) {
      Mathf.Floor (float);
  } else {
      Mathf.Ceil (float);
  }
  </code></pre>
  
  <p>Thanks in advance,</p>