Difference between revisions of "rad"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
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 02:40, 3 August 2006

Introduced with Operation Flashpoint version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Convert x from degrees to radians.

Syntax

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

Examples

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

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section