sin(Decimal) - Amazon IoT Analytics
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

For similar capabilities to Amazon IoT Analytics, explore Amazon Kinesis, Amazon S3, and Amazon Athena. These services provide additional scalability and flexibility to meet your evolving analytics requirements. Learn how here.

sin(Decimal)

Returns the sine of a number in radians. Decimal arguments are rounded to double precision before function application.

Examples: sin(0) = 0.0

Argument type Result

Int

Decimal (with double precision), the sine of the argument.

Decimal

Decimal (with double precision), the sine of the argument.

Boolean

Undefined.

String

Decimal, the sine of the argument. If the string cannot be converted to a Decimal, the result is Undefined.

Array

Undefined.

Object

Undefined.

Null

Undefined.

Undefined

Undefined.