series_ceiling()
Learn how to use the series_ceiling() function to calculate the element-wise ceiling function of the numeric series input.
Calculates the element-wise ceiling function of the numeric series input.
Syntax
series_ceiling(series)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| series | dynamic | ✔️ | An array of numeric values over which the ceiling function is applied. |
Returns
Dynamic array of the calculated ceiling function. Any non-numeric element yields a null element value.
Example
print s = dynamic([-1.5,1,2.5])
| extend s_ceiling = series_ceiling(s)
Output
| s | s_ceiling |
|---|---|
| [-1.5,1,2.5] | [-1.0,1.0,3.0] |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.