Global

Methods

max(numbers)

To get the max number of numbers
Parameters:
Name Type Description
numbers array A array
Source:
Returns:
The max number of numbers

min(numbers)

To get the min number of numbers
Parameters:
Name Type Description
numbers array A array
Source:
Returns:
The min number of numbers

sort(numbers, cmp)

To sort the numbers (cmp)
Parameters:
Name Type Description
numbers array A array
cmp function A function
Source:
Returns:
The sorted number of numbers (cmp)

sort_max(numbers)

To sort the numbers (From max to min)
Parameters:
Name Type Description
numbers array A array
Source:
Returns:
The sorted number of numbers (From max to min)

sort_min(numbers)

To sort the numbers (From max to min)
Parameters:
Name Type Description
numbers array A array
Source:
Returns:
The sorted number of numbers (From max to min)