log(Decimal) - Amazon IoT Analytics
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

log(Decimal)

返回参数的以 10 为底的对数。在代入函数之前,Decimal 参数舍入到双精度。

示例:log(100) = 2.0

参数类型 结果

Int

Decimal (双精度),参数以 10 为底的对数。

Decimal

Decimal (双精度),参数以 10 为底的对数。

Boolean

Undefined.

String

Decimal (双精度),参数以 10 为底的对数。如果 String 无法转换为 Decimal,则结果为 Undefined

数组

Undefined.

对象

Undefined.

Null

Undefined.

未定义

Undefined.