Arma 3 Scripting

Command in Math

ceil

Also available as Markdown and JSON, or read the original wiki page.

Description

The ceil value of x.

Syntax

ceil x

Parameters:

Returns: Number

Examples

Example 1

ceil 5.25; // Result is 6

Example 2

ceil -5.25; // Result is -5

See also

floor · round · linearConversion