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