ceil

Table of Contents

Function

ceil — ceiling of a number

Synopsis

ceil(n: number) -> number

Description

The ceil function returns the smallest integer greater than or equal to its argument n, which must be a numeric type. The return type retains the type of the argument.

Examples

The ceiling of a various numbers:

yield ceil(this)
1.5
-1.5
1(uint8)
1.5(float32)
Loading...
Next: cidr_match

SuperDB