sqrt: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SQRT]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SQRT]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SQRT]]
[[Category:Scripting Commands ArmA|SQRT]]


| ofp |= Game name


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


| Returns square root of x. |= Description
____________________________________________________________________________________________


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


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


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_sq = sqrt 9 ...... Result is 3</pre> |= Example 1
____________________________________________________________________________________________


[[Number]]
|  |= See also


'''Description:'''
}}


Returns square root of '''x'''.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SQRT]]
_sq = '''sqrt''' 9 ...... Result is 3
[[Category:Scripting Commands OFP 1.96|SQRT]]
[[Category:Scripting Commands OFP 1.46|SQRT]]
[[Category:Scripting Commands ArmA|SQRT]]

Revision as of 00:52, 2 August 2006

Hover & click on the images for description

Description

Description:
Returns square root of x.
Groups:
Uncategorised

Syntax

Syntax:
sqrt x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_sq = sqrt 9 ...... Result is 3

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