Skip to main content

math.ceil(value)

Returns the ceiling value

Availability

Device + Agent

Parameters

Name Type Description
value Float/integer Any numerical value

Returns

Float — the ceiling value

Description

This function returns a floating-point value representing the nearest whole number that is greater than or equal to the value passed to it. If that value is an integer it will, by definition, be the value math.ceil() returns, albeit as float not an integer.

Example Code