Difference between revisions of "rad"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (math commands)
m
Line 10: Line 10:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Number#Radians|Radians]] <nowiki>=</nowiki> '''rad''' [[Number#Degrees|Degrees]]|= Syntax
+
| [[Number]] <nowiki>=</nowiki> '''rad''' x |= Syntax
  
|p1= [[Number#Degrees|Degrees]]: [[Number]]  
+
|p1= x: [[Number]]  
  
  
| [[Number#Radians|Radians]]::[[Number]] |= Return value
+
| [[Number]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   

Revision as of 15:30, 24 January 2009

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:
Number = rad x
Parameters:
x: Number
Return Value:
Number

Examples

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

Additional Information

Multiplayer:
-
See also:
Math Commands

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