Difference between revisions of "rad"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Convert x from degrees to radians. 360 degrees is equal to 2 multiplied with pi. |= Description
+
| Convert x from [[Number#Degrees|Degrees]] to [[Number#Radians|Radians]]. 360 degrees is equal to 2 multiplied with pi. |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Radians <nowiki>=</nowiki> '''rad''' Degrees |= Syntax
+
| [[Number#Radians|Radians]] <nowiki>=</nowiki> '''rad''' [[Number#Degrees|Degrees]]|= Syntax
|p1= Radians: [[Number]]
 
|p2= Degrees: [[Number]]
 
  
 +
|p1= [[Number#Degrees|Degrees]]: [[Number]]
  
| [[Number]] |= Return value
+
 
 +
| [[Number#Radians|Radians]]::[[Number]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
 
|x1= <code>_radians <nowiki>=</nowiki> '''rad''' 180</code>   
 
|x1= <code>_radians <nowiki>=</nowiki> '''rad''' 180</code>   
Result is 3.1415|= Example 1
+
Result is 3.1415 (eg [[pi]]|= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 08:16, 4 September 2007

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. 360 degrees is equal to 2 multiplied with pi.

Syntax

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

Examples

Example 1:
_radians = rad 180 Result is 3.1415 (eg pi

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