Ceil

Rounds a number up to the nearest integer.

Category: Math Returns: int

Signature

Ceil(value)

Examples

Ceil(3.2)                 // 4
Ceil(score / divisor)     // ceiling of a division
Ceil(health / 10) + 1     // ensure a positive ceiling result

For the symmetric floor operation, see Floor.

Docs last synced: 2026-07-08
Screenshot viewer