Difference between revisions of "NXSL:max"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Tomas Kirnak (talk | contribs)   | 
				|||
| Line 1: | Line 1: | ||
__NOTOC__  | __NOTOC__  | ||
Returns maximal value from a list of values.  | |||
== Syntax ==  | == Syntax ==  | ||
max(number1 [,number2] [,number n]);  | |||
== Parameters ==  | |||
:{|  | |||
|-  | |||
| ''numbers'' - separated by comma  | |||
|}  | |||
== Return Value ==  | |||
Maximal value of ''numbers''.  | |||
== Examples ==  | |||
 max(2, 3, 4, 8)	->	8  | |||
Revision as of 08:47, 22 October 2014
Returns maximal value from a list of values.
Syntax
max(number1 [,number2] [,number n]);
Parameters
numbers - separated by comma 
Return Value
Maximal value of numbers.
Examples
max(2, 3, 4, 8) -> 8