Difference between revisions of "rad"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 4: Line 4:
 
[[Category:Scripting Commands ArmA|R]]
 
[[Category:Scripting Commands ArmA|R]]
  
back to [[Scripting_Reference#R|COMREF]]
 
  
 
<h2 style="color:#000066">'''rad ''x'''''</h2>
 
<h2 style="color:#000066">'''rad ''x'''''</h2>

Revision as of 12:03, 23 April 2006


rad x


Operand types:

x: Number

Type of returned value:

Number

Description:

Convert x from degrees to radians.


Example:

_radians = rad 180 ...... Result is 3.1415