ceil: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Math |GROUP1= | |gr1= Math |GROUP1= | ||
| The ceil value of x. |DESCRIPTION= | | The ceil value of x. |DESCRIPTION= | ||
| [[Number]] <nowiki>=</nowiki> '''ceil''' x |SYNTAX= | | [[Number]] <nowiki>=</nowiki> '''ceil''' x |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[Number]] |RETURNVALUE= | | [[Number]] |RETURNVALUE= | ||
|x1= <pre>ceil 5.25</pre> | |x1= <pre>ceil 5.25</pre> | ||
Line 23: | Line 19: | ||
|x2= <pre>ceil -5.25</pre> | |x2= <pre>ceil -5.25</pre> | ||
Result is -5 |EXAMPLE2= | Result is -5 |EXAMPLE2= | ||
| [[floor]], [[round]], [[linearConversion]], [[Math Commands]]|SEEALSO= | | [[floor]], [[round]], [[linearConversion]], [[Math Commands]]|SEEALSO= |
Revision as of 00:25, 17 January 2021
Description
- Description:
- The ceil value of x.
- Groups:
- Math
Syntax
Examples
- Example 1:
ceil 5.25
Result is 6- Example 2:
ceil -5.25
Result is -5
Additional Information
- See also:
- floorroundlinearConversionMath Commands
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