title: Java - rounding by quarter intervals
body: <p>I'm running into following issue...</p>
  
  <p>Does an already 'built-in' function exists in java to round given random numbers to the closest lower quarter value.</p>
  
  <p>These are the given random numbers:</p>
  
  <pre><code>2.00 -&gt; 2.00
  2.24 -&gt; 2.00
  2.25 -&gt; 2.25
  2.49 -&gt; 2.25
  2.50 -&gt; 2.50
  2.74 -&gt; 2.50
  2.75 -&gt; 2.75
  2.99 -&gt; 2.75
  3.00 -&gt; 3.00
  </code></pre>