Manuals/calci/TOP

From ZCubes Wiki
Revision as of 14:41, 3 December 2018 by Devika (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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