Takes away a % of a number not working
<p>What I want it to do is take 10% from what ever the price is.</p>

<p>The code is</p>

<pre><code>$SALEPRICE = $PS-&gt;Price;
$TAX = .10 * ($PS-&gt;Price);
$PROFIT = ($PS-&gt;Price) - ($TAX);
$getAmount = $PROFIT;
</code></pre>

<p>$PS->Price is the price it will take 10% from.
When $PS->Price is 100,000 it works fine but anything under it does not work.</p>

<p>Any idea why this is not working?</p>
