使用 “版本 ”下拉列表切换服务。 了解有关导航的详细信息。
适用于:✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
计算数值序列输入的按元素向下取整函数。
语法
series_floor(series
详细了解语法约定。
参数
| 客户 | 类型 | 必需 | 说明 |
|---|---|---|---|
| series | dynamic |
✔️ | 应用地板函数的数值数组。 |
返回
计算出的向下取整函数的动态数组。 任何非数值元素都会生成 null 元素值。
示例
print s = dynamic([-1.5,1,2.5])
| extend s_floor = series_floor(s)
输出
| s | s_floor |
|---|---|
| [-1.5,1,2.5] | [-2.0,1.0,2.0] |