series_floor()

Applies to: ✅ Azure Data ExplorerAzure MonitorMicrosoft Sentinel

Calculates the element-wise floor function of the numeric series input.

Syntax

series_floor(series)

Learn more about syntax conventions.

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]