title: Where is the ceil function on scala.math.BigDecimal?
body: <p>I can't find the ceil function in the places I've looked:</p>
  
  <ul>
  <li><a href="https://duckduckgo.com/?q=scala+bigdecimal+ceil+function&amp;t=ffab&amp;ia=qa" rel="nofollow noreferrer">https://duckduckgo.com/?q=scala+bigdecimal+ceil+function&amp;t=ffab&amp;ia=qa</a></li>
  <li><a href="http://www.scala-lang.org/api/current/scala/math/BigDecimal.html" rel="nofollow noreferrer">http://www.scala-lang.org/api/current/scala/math/BigDecimal.html</a></li>
  </ul>
  
  <p>But I do find a <a href="http://www.scala-lang.org/api/current/scala/math/BigDecimal$.html?search=ceil" rel="nofollow noreferrer">ceil method on Double and Float</a>.</p>
  
  <p>I know MathContext can be made to use the ceiling rounding mode, but I can't seem to make it work:</p>
  
  <pre><code>scala&gt; BigDecimal("1.1").round(new MathContext(0, RoundingMode.UP))
  res2: scala.math.BigDecimal = 1.1
  
  scala&gt; BigDecimal("1.8").round(new MathContext(0, RoundingMode.UP))
  res3: scala.math.BigDecimal = 1.8
  
  scala&gt; BigDecimal("1.8").round(new MathContext(0, RoundingMode.CEILING))
  res5: scala.math.BigDecimal = 1.8
  
  scala&gt; BigDecimal("1.8", new MathContext(0, RoundingMode.CEILING))
  res6: scala.math.BigDecimal = 1.8
  
  scala&gt; res6.rounded
  res8: scala.math.BigDecimal = 1.8
  </code></pre>
  
  <p>I expected the result of all the operations above to be <code>== BigDecimal(2)</code>.</p>
  
  <p>I use a BigDecimal because these are money operations, hence I need exact values.</p>