title: How to parse a mathematical expression given as a string and return a number?
body: <p>Is there a way in Java to get the result from this mathematical expression:</p>
  
  <pre><code>String code = "5+4*(7-15)";
  </code></pre>
  
  <p>In other hand what's the best way to parse an arithmetic expression?</p>