Skip to main content

Mathf.Ceil(number f)

Returns the smallest integer greater to or equal to f.

Parameters:

NameTypeDescription
fnumberValue

Returns:

typeDescription
numberthe smallest integer greater to or equal to f.

Usage

---@type number
local f;


local val0 = Mathf:Ceil(f)