title: Round up BigDecimal to Integer value
body: <p>I have a BigDecimal which value is 450.90, I want to round up to next hole integer value, and then print the Integer value without any decimal points, like this;</p>
  
  <p>Val: 450.90 -> Rounded: 451.00 -> Output: 451</p>
  
  <p>Val: 100.00001 -> Rounded: 101.00000 Output: 101</p>
  
  <p>Checked some solutions but I'm not getting the expected result, heres my code;</p>
  
  <pre><code>BigDecimal value = new BigDecimal(450.90);
  value.setScale(0, RoundingMode.HALF_UP); //Also tried with RoundingMode.UP
  return value.intValue();
  </code></pre>
  
  <p>Thanks!</p>