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

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

tan(Decimal)

以弧度为单位返回数字的正切值。在代入函数之前,Decimal 值舍入到双精度。

示例:tan(3) = -0.1425465430742778

参数类型 结果

Int

Decimal (双精度),参数的正切值。

Decimal

Decimal (双精度),参数的正切值。

Boolean

Undefined.

String

Decimal (双精度),参数的正切值。如果字符串无法转换为 Decimal,则结果为 Undefined

Array

Undefined.

Object

Undefined.

Null

Undefined.

Undefined

Undefined.