Lipi Reference Lipi

Functions

math.ceil()

The ceil function returns the smallest (closest to negative infinity) integer that is greater than or equal to the argument.

Syntax · 1 of 4

                math.ceil(const float number) → const int
              

Arguments

number required const float The number to use in the calculation.

Return Type

const int

Syntax · 2 of 4

                math.ceil(input float number) → input int
              

Arguments

number required input float The number to use in the calculation.

Return Type

input int

Syntax · 3 of 4

                math.ceil(simple float number) → simple int
              

Arguments

number required simple float The number to use in the calculation.

Return Type

simple int

Syntax · 4 of 4

                math.ceil(series float number) → series int
              

Arguments

number required series float The number to use in the calculation.

Return Type

series int