Possible Duplicate:
How to get the highest and lowest value items of an array?
I have an array in PHP which output like this:
Array ( [0] => 180.99 [1] => 140 [2] => 200.45 )
The numbers can be decimals because they are prices.
For example, I want to show that the product has price ranging from 140 to 200 . How can I use that unordered array to find the min, max price within it?
Thank you