"Alexander Ross" <al******@bleen.net> wrote in message
news:YNRVa.19379$uu5.1172@sccrnsc04...
If I have a series of integers, how do I get the minimum (or maximum)
value NOT equaled to 0??
--
Alexander Ross
al******@bleen.net
Hope I've got this one right, but I'd put the numbers in to an array,
perform a sort and then do an array_pop and an array_shift to take the first
and elements from the array - If either number was a zero, I'd perform the
the same routines again as they take the last and first element from the
array hence eventually you would get the lowest and highest number.
I've not tested this idea though for negative numbers but hope it gives you
some direction.