Docly Developers
Function Updated 30 May 2026

Math.ceil(value)

Always rounds a number upwards.

Parameters

valuenumberrequired

Value to ceil.

Returns

A number that is rounded against ceiling.

Example

Mixed HTML (or any text file) with inline JavaScript between hash signs.
This becomes 1:
#Math.ceil(0.1)#