View Single Post
  #5 (permalink)  
Old 03-23-2007, 11:24 PM
ralph.ronnquist's Avatar
ralph.ronnquist ralph.ronnquist is offline
Senior Member
 
Join Date: Oct 2006
Posts: 280
ralph.ronnquist is on a distinguished road
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[] = { var1var2, .., varN };
double min ArrayMinimumvalues ); 
Reply With Quote