round: Difference between revisions
Jump to navigation
Jump to search
m (add to Math Commands) |
m (corrected description) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Rounds up or down to the closest integer of x. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| x1 =<pre>round 5.25, result is 5</pre> | = Example 1 | | x1 =<pre>round 5.25, result is 5</pre> | = Example 1 | ||
| x2 =<pre>round | | x2 =<pre>round 5.55, result is 6</pre> | = Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:23, 11 February 2007
Description
- Description:
- Rounds up or down to the closest integer of x.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
round 5.25, result is 5
- Example 2:
round 5.55, result is 6
Additional Information
- See also:
- floor
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