Bottom
The Bottom() function returns the last element of an array, or the last N elements when specified.
Related functions: Top
Syntax:
Bottom(Array, [No of rows])- In the Quintessence Editor (Studio) using Python language, use:
Qx.Bottom()
ⓘ See parameter descriptions
| Array | The input range. |
| No of rows (optional) | The number of elements to return, counted backward from the end of the array. |
Remarks:
- Default values:
- No of rows:
1
- No of rows:
Examples:
The examples provided below are based on fictitious data for illustrative purposes only.
> Example 1: Return bottom 2 values of an array
Range:
| 1 |
| 4 |
| 7 |
Formula:
return := Bottom(Range, 2); Result:
| 4 |
| 7 |
