ceil()

Math / Calculation

Description

Calculates the closest integer that is greater than or equal to the value of the parameter.

Syntax

float ceil(float x)

Parameters

NameTypeDescription
xfloatnumber to evaluate

Returns

float

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...