Skip to content

Api > Mathf > Ceil()


Mathf.Ceil(number f)⚓︎

Returns the smallest integer greater to or equal to f.

Parameters:⚓︎

Name Type Description
f number Value

Returns:⚓︎

type Description
number the smallest integer greater to or equal to f.

Usage⚓︎

---@type number
local f;


local val0 = Mathf:Ceil(f)