Difference between revisions of "NthMinList"

From MultiCharts
Jump to navigation Jump to search
m
 
Line 9: Line 9:
 
              
 
              
 
:'''Value1''', '''Value2''', '''Value3''', etc. - numerical expressions.
 
:'''Value1''', '''Value2''', '''Value3''', etc. - numerical expressions.
+
 
 
== Example ==
 
== Example ==
 
<syntaxhighlight>NthMinList(4, -15, -5, 0, 6, 12);</syntaxhighlight>
 
<syntaxhighlight>NthMinList(4, -15, -5, 0, 6, 12);</syntaxhighlight>
 
Will return a value of 6, the fourth lowest value from the specified numerical expressions.
 
Will return a value of 6, the fourth lowest value from the specified numerical expressions.
 
   
 
   
 +
== Notes ==
 +
* See [[MinList]] to return the lowest value of the specified numerical expressions.
 +
* See [[MinList2]] to return the second lowest value of the specified numerical expressions.
 +
 
[[Category:Math and Trig]]
 
[[Category:Math and Trig]]

Latest revision as of 06:24, 9 February 2012

Returns the Nth lowest value of the specified numerical expressions.

Usage

NthMinList(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

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

Will return a value of 6, the fourth lowest value from the specified numerical expressions.

Notes

  • See MinList to return the lowest value of the specified numerical expressions.
  • See MinList2 to return the second lowest value of the specified numerical expressions.