round: Difference between revisions
| m (VBS2 scripting category removal) | m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") | ||
| Line 36: | Line 36: | ||
| [[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
| [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
Revision as of 11:25, 2 November 2011
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 : ceilfloor
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
