title: Extract decimal or Integer from a string in php
body: <p>Eg:</p>
  
  <pre><code>$str .= "Additional tax(2.34)";
  $str .= "Additional tax(3)";
  </code></pre>
  
  <p>Can anyone help me up to extract the number from the string. I need an array format like this </p>
  
  <pre><code>Array ( [0] =&gt; 2.34 [1] =&gt; 3 );
  </code></pre>