title: Bigdecimal logarithm in Java
body: <p>I want to calculate the logarithm of the <code>transmitter.getETXPOW()</code>, what is <code>BigDecimal</code> format.</p>
  
  <pre><code>BigDecimal power =  transmitter.getETXPOW();
  BigDecimal eirp = 10 * Math.log(power);
  </code></pre>
  
  <p>I received an error message, <code>BigDecimal</code> can not be converted to <code>double</code>.</p>
  
  <p>Logarithm base is 10.</p>