Difference between revisions of "NthMaxList"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the Nth highest value of the specified numerical expressions. ==== Usage ==== <syntaxhighlight>NthMaxList(N,Value1,Value2,Value3, etc.)</syntaxhighlight> Where: [...")
 
m
Line 1: Line 1:
 
Returns the Nth highest value of the specified numerical expressions.   
 
Returns the Nth highest value of the specified numerical expressions.   
  
==== Usage ====
+
== Usage ==
<syntaxhighlight>NthMaxList(N,Value1,Value2,Value3, etc.)</syntaxhighlight>  
+
<syntaxhighlight>NthMaxList(N, Value1, Value2, Value3, etc.);</syntaxhighlight>  
  
Where: [[N]] - a numerical expression, indicating the rank of the value to be returned  
+
Where:  
 +
 
 +
:'''N''' - a numerical expression, indicating the rank of the value to be returned.
 
              
 
              
[[Value1,Value2,Value3, etc.]] - numerical expressions  
+
:'''Value1''', '''Value2''', '''Value3''', etc. - numerical expressions.
 
==== Example ====
 
<syntaxhighlight>NthMaxList(4,-15,-5,0,6,12) will return a value of -5</syntaxhighlight>
 
 
   
 
   
 +
== Example ==
 +
<syntaxhighlight>NthMaxList(4, -15, -5, 0, 6, 12);</syntaxhighlight>
 +
Will return a value of -5, the fourth highest value of the specified numerical expressions.
  
 
[[Category:Math and Trig]]
 
[[Category:Math and Trig]]

Revision as of 06:13, 9 February 2012

Returns the Nth highest value of the specified numerical expressions.

Usage

NthMaxList(N, Value1, Value2, Value3, etc.);

Where:

N - a numerical expression, indicating the rank of the value to be returned.
Value1, Value2, Value3, etc. - numerical expressions.

Example

NthMaxList(4, -15, -5, 0, 6, 12);

Will return a value of -5, the fourth highest value of the specified numerical expressions.