title: Ruby: Why is 1.025.round(2) rounded to 1.02?
body: <p>As far as I understand the <a href="http://www.ruby-doc.org/core-2.1.1/Float.html#method-i-round" rel="nofollow"><code>.round()</code></a>-functionality in ruby rounds decimals upwards where the last significant number is <code>5</code>?</p>
  
  <p>For example <code>1.5.round(0) # =&gt; 2</code> (OK)</p>
  
  <p>but why does <code>1.025.round(2) # =&gt; 1.02</code>, and not <code>1.03</code> as I would expect?</p>
  
  <pre><code>irb(main):037:0&gt; 1.025.round(2)
  =&gt; 1.02
  </code></pre>
  
  <p>What can I do to go around this?</p>