ceil(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.

ceil(Decimal)

Rounds the given Decimal up to the nearest Int.

Examples:

ceil(1.2) = 2

ceil(11.2) = -1

Argument type Result

Int

Int, the argument value.

Decimal

Int, the string is converted to Decimal and rounded up to the nearest Int. If the string cannot be converted to a Decimal, the result is Undefined.

Other Value

Undefined.