round: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added example)
m (add to Math Commands)
Line 1: Line 1:
[[Category:Scripting Commands|ROUND]]
[[Category:Scripting Commands ArmA|ROUND]]
{{Command|= Comments
{{Command|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 34: Line 32:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|ROUND]]
[[Category:Scripting Commands ArmA|ROUND]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]

Revision as of 23:35, 11 January 2007

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

Description

Description:
The integer value of x.
Groups:
Uncategorised

Syntax

Syntax:
round x
Parameters:
x: Number
Return Value:
Integer

Examples

Example 1:
round 5.25, result is 5
Example 2:
round -5.25, result is -5

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

Notes

Bottom Section