Difference between revisions of "Manuals/calci/TOPN"

From ZCubes Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 12: Line 12:
 
#TOPN([1.2,8.001,2.8,10,4.001,6,2],0) = 1.2
 
#TOPN([1.2,8.001,2.8,10,4.001,6,2],0) = 1.2
 
#TOPN([100,12,31,89,12,17,19],10)= 100 12 31 89 12 17 19
 
#TOPN([100,12,31,89,12,17,19],10)= 100 12 31 89 12 17 19
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=En68ipRaFOU|280|center|Top Numbers}}
  
 
==See Also==
 
==See Also==
Line 21: Line 25:
 
==References==
 
==References==
 
[http://www.thetoptens.com/top-ten-greatest-numbers/ Top]
 
[http://www.thetoptens.com/top-ten-greatest-numbers/ Top]
 +
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 14:45, 3 December 2018

TOPN (Array,n)


  • is the set of numbers.
  • is the number.

Description

  • This function shows the starting 'n' values of the given array.
  • In , is the set of values and is the number of the value.
  • shows the first 'n' values from the given set of values.

Examples

  1. TOPN([20,13,17,19,22,26,32,56,45,10,98,112,134,201],6) = 20 13 17 19 22 26
  2. TOPN([1.2,8.001,2.8,10,4.001,6,2],0) = 1.2
  3. TOPN([100,12,31,89,12,17,19],10)= 100 12 31 89 12 17 19

Related Videos

Top Numbers

See Also

References

Top