round: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved command to template)
Line 1: Line 1:
[[Category:Scripting Commands|ROUND]]
[[Category:Scripting Commands|ROUND]]
[[Category:Scripting Commands ArmA|ROUND]]
[[Category:Scripting Commands ArmA|ROUND]]
{{Command|= Comments
____________________________________________________________________________________________


| ofp |= Game name


<h2 style="color:#000066">''' round ''x'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| The round value of x.  |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''round''' x |= Syntax


'''x:''' [[Number]]
|p1= x: [[Number]] |= Parameter 1


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
| x1 = 
<br>
round -5.25 


[[Number]]
Result is -5 | = Example 1
|  |= See also


'''Compatibility:'''
}}


?
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


The round value of '''x'''.
<h3 style="display:none">Bottom Section</h3>
 
 
'''Example'''
 
'''round''' -5.25  , result is -5

Revision as of 02:37, 3 August 2006


Hover & click on the images for description

Description

Description:
The round value of x.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:

round -5.25 Result is -5

Additional Information

See also:
See also needed

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