This is my array
Array ( [0] => $30.00 [1] => $200.00 [2] => $138.00 [3] => $100.00 [4] => $30.00
[5]=>$30.00 [6] => $30.00 )
Trying to get the max and min value from this array
echo $maxprice = max($list);
echo $minprice = min($list);
I get $30.00 for max and $100.00 for min
I am guessing this is due to the values are in money string.
Can someone please tell me how I could get the real max and min for this array? Is this really due to money string?
Thanks in advance
Note This array is stripped down from a multidimensional array. If it was normal array, it would be straightforward