Difference between revisions of "rad"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add to Math Commands)
m
Line 1: Line 1:
 
 
{{Command|= Comments
 
{{Command|= Comments
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
Line 11: Line 10:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''rad''' x |= Syntax
+
| Radians <nowiki>=</nowiki> '''rad''' Degrees |= Syntax
 +
|p1= Radians: [[Number]]
 +
|p2= Degrees: [[Number]]
  
|p1= x: [[Number]] |= Parameter 1
 
  
 
| [[Number]] |= Return value
 
| [[Number]] |= Return value

Revision as of 13:50, 29 August 2007

Introduced with Operation Flashpoint version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Convert x from degrees to radians. 360 degrees is equal to 2 multiplied with pi.

Syntax

Syntax:
Radians = rad Degrees
Parameters:
Radians: Number
Degrees: Number
Return Value:
Number

Examples

Example 1:
_radians = rad 180 Result is 3.1415

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section