title: BigDecimal math operations
body: <p>I want to write this in Java but I get some errors and I am not sure how to write it:</p>
  
  <pre><code>C = A - (A*B)/100
  </code></pre>
  
  <p>All of my values are defined as Bigdecimal objects.</p>
  
  <p>I tried something like this but is not working:</p>
  
  <pre><code>C = A.subtract(A.multiply(B).divide(100));
  </code></pre>
  
  <p>..I get a warning to add more arguments to the divide method. I do not know how to write it correctly. What am I doing wrong? Thanks in advance</p>