Ceil (Function) — Skript

Addon: Skript · Category: Function

Syntax

ceil(n: number) :: long

Description

Rounds a number up, i.e. returns the closest integer larger than or equal to the argument.

Examples

ceil(2.34) = 3
ceil(2) = 2
ceil(2.99) = 3

View source