Difference between revisions of "rad"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:Scripting Commands]]
+
[[Category:Scripting Commands|R]]
[[Category:Scripting Commands OFP 1.97]]
+
[[Category:Scripting Commands OFP 1.97|R]]
[[Category:Scripting Commands OFP 1.46]]
+
[[Category:Scripting Commands OFP 1.46|R]]
[[Category:Scripting Commands ArmA]]
+
[[Category:Scripting Commands ArmA|R]]
  
 
back to [[Scripting_Reference#R|COMREF]]
 
back to [[Scripting_Reference#R|COMREF]]

Revision as of 19:55, 22 April 2006


back to COMREF

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