round: Difference between revisions
| mNo edit summary | mNo edit summary | ||
| Line 10: | Line 10: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [[Number]] <nowiki>=</nowiki> '''round''' [[Number]] |=  | | [[Number]] <nowiki>=</nowiki> '''round''' x |= Syntax | ||
| |p1= x: [[Number]] |= Parameter 1 | |||
| | [[Number]] |= Return value | | [[Number]] |= Return value | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 15:12, 24 January 2009
Description
- Description:
- Rounds up or down to the closest integer.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
- _val= round 5.25, result is 5 
- Example 2:
- _val= round 5.55, result is 6 
Additional Information
- See also:
- Math Commands : 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
