rad: Difference between revisions

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


| ofp |= Game name


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


| Convert x from degrees to radians. |= Description
____________________________________________________________________________________________


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


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


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_radians = rad 180 ...... Result is 3.1415</pre> |= Example 1
____________________________________________________________________________________________


[[Number]]
|  |= See also


'''Description:'''
}}


Convert '''x''' from degrees to radians.
<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>
 
_radians = '''rad''' 180 ...... Result is 3.1415

Revision as of 01:40, 3 August 2006


Hover & click on the images for description

Description

Description:
Convert x from degrees to radians.
Groups:
Uncategorised

Syntax

Syntax:
rad x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_radians = rad 180 ...... Result is 3.1415

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