Rounds a floating-point number up to the nearest integer.
ceil(num: number) -> int
Returns the documented result for the function signature.
respond { status = 200, body = { pages = ceil(ctx.request.query.items / 25) } }