series_floor()
Learn how to use the series_floor() function to calculate the element-wise floor function of the numeric series input.
Calculates the element-wise floor function of the numeric series input.
Syntax
series_floor(series)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| series | dynamic | ✔️ | An array of numeric values on which the floor function is applied. |
Returns
Dynamic array of the calculated floor function. Any non-numeric element yields a null element value.
Example
print s = dynamic([-1.5,1,2.5])
| extend s_floor = series_floor(s)
Output
| s | s_floor |
|---|---|
| [-1.5,1,2.5] | [-2.0,1.0,2.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.