PHP Multiply String Values from service
<p>I'm trying to multiply a value (sales tax) that is being returned from a service. I'm able to 'add' it without any problems, but I'm not able to get it to multiply using my string: </p>

<pre><code>floatval(($service-&gt;PRICE)+floatval($service-&gt;SALES_TAX)+floatval($service-&gt;TRAVEL))
</code></pre>

<p>I've tried using:</p>

<pre><code>floatval(($service-&gt;PRICE)*floatval($service-&gt;SALES_TAX)+floatval($service-&gt;TRAVEL))
</code></pre>

<p>and also</p>

<pre><code>floatval(($service-&gt;PRICE*$service-&gt;SALES_TAX)+floatval($service-&gt;TRAVEL))
</code></pre>

<p>But both only return the Travel amount, instead of the Price * Sales Tax + Travel.</p>

<p>Any help is greatly appreciated!</p>
