Creator Help

ceil

This topic describes the syntax and usage of the ceil function in Zoho Creator .

Description

The ceil function returns the given decimal number, rounded up as a positive integer value.

Syntax

ceil(<num>);   // This format is supported only in free-flow scripting mode of script builder.

The ceil function syntax has the following arguments:

num - Required.  The decimal number you want to be rounded up.

Return Value

Returns a integer representing the ceil of the number.

Example

num=5.2;
ceil(num);     //returns 6

Top