ceil
Rounds a number up to the next whole number (2.1 gives 3; -2.1 gives -2).
Runs on: either side: the compiler places the statement that calls it where the values it uses live.
Format:
ceil(number)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| number | number | the number |
Returned Value:
| Type | Description |
|---|---|
| number | the smallest whole number that is not below it |
Examples
pages = ceil(count(rows) / 20)