ceil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add to Math Commands)
m (add example for negative values)
Line 19: Line 19:
|x1= <pre>ceil 5.25</pre>
|x1= <pre>ceil 5.25</pre>
Result is 6 |= Example 1
Result is 6 |= Example 1
|x2= <pre>ceil -5.25</pre>
Result is -5 |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:51, 31 January 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
The ceil value of x.
Groups:
Uncategorised

Syntax

Syntax:
ceil x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
ceil 5.25
Result is 6
Example 2:
ceil -5.25
Result is -5

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section