title: How to round up to closest .5 using C#
body: <p>Working with a time clocking system a lot of the hours clocked end up looking like this: </p>
  
  <p>0.266666666666.</p>
  
  <p>Now, I want to round up all the numbers to the "next .5 value", such that 0.2666666666 becomes 0.5.</p>
  
  <p>Examples:</p>
  
  <pre><code>1.4 =&gt; Should become 1.5
  1.45 =&gt; Should become 1.5
  1.466666666 =&gt; Should become 1.5
  1.0 =&gt; Should remain 1.0
  1.6 =&gt; Should become 2.0
  </code></pre>
  
  <p>The numbers need to always be rounded up.</p>
  
  <p>I would be very grateful for any help on how to achieve this in C#!</p>