php looping through 2D array
<p>I access the following values like this.</p>

<pre><code>$result-&gt;{'HistoricalPricesResult'}-&gt;HistoricalPricesResult[0]-&gt;Price
$result-&gt;{'HistoricalPricesResult'}-&gt;HistoricalPricesResult[0]-&gt;Low
//next row
$result-&gt;{'HistoricalPricesResult'}-&gt;HistoricalPricesResult[1]-&gt;Price
$result-&gt;{'HistoricalPricesResult'}-&gt;HistoricalPricesResult[1]-&gt;Low
</code></pre>

<p>However I need to consolidate this to</p>

<pre><code>$values[0][price]
$values[0][low]
$values[1][price]
$values[1][low]
</code></pre>

<p>2 other strange things.  The values are strings and I need them to be decimals(2 decimal points) and also the min and the max for price and low accross all the rows</p>
