Difference between revisions of "Manuals/calci/TOP"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "TOP")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
TOP
+
<div style="font-size:30px">'''TOP (Array,Count)'''</div>
 +
*<math>Array</math> is the set of values.
 +
*<math>Count</math> is the number to display.
 +
 
 +
==Description==
 +
*This function is showing uppermost numbers.
 +
*In <math>TOP(Array,Count)</math>, <math>Array</math> is the set of numbers.
 +
*<math>Count</math> is the number of numbers to display.
 +
*Top function is displaying the uppermost numbers from the array list with the given count numbers.
 +
*It will consider the string and empty space also to display.
 +
 
 +
==Examples==
 +
#TOP([1,3,91,16,26,90],3) = 1 3 91
 +
#TOP([2.1,69.1,24.6,71.2,90.001,43.32,66.006,18.88,45.21],6) = 2.1 69.1 24.6 71.2 90.001 43.32
 +
#TOP([12/7,,17/8,19/3,7/8,,10/7],4) = 1.7142857142857142 null 2.125 6.333333333333333
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=En68ipRaFOU|280|center|Top Numbers}}
 +
 
 +
==See Also==
 +
*[[Manuals/calci/TOPN  | TOPN  ]]
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
*[[ Z3 |  Z3 home ]]
 +
 
 +
==References==
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 14:41, 3 December 2018

TOP (Array,Count)
  • is the set of values.
  • is the number to display.

Description

  • This function is showing uppermost numbers.
  • In , is the set of numbers.
  • is the number of numbers to display.
  • Top function is displaying the uppermost numbers from the array list with the given count numbers.
  • It will consider the string and empty space also to display.

Examples

  1. TOP([1,3,91,16,26,90],3) = 1 3 91
  2. TOP([2.1,69.1,24.6,71.2,90.001,43.32,66.006,18.88,45.21],6) = 2.1 69.1 24.6 71.2 90.001 43.32
  3. TOP([12/7,,17/8,19/3,7/8,,10/7],4) = 1.7142857142857142 null 2.125 6.333333333333333

Related Videos

Top Numbers

See Also

References