Quote:
|
Originally Posted by Jagg
Ok, thought there is a small functionn out there for that....
Say it are five variables... how to it then?
Thanks
|
The following snippet can be used for any fixed number of variables:
PHP Code:
double values[] = { var1, var2, .., varN };
double min = ArrayMinimum( values );