Difference between revisions of "rad"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
[[Category:Scripting Commands|RAD]]
 
[[Category:Scripting Commands|RAD]]
[[Category:Scripting Commands OFP 1.97|RAD]]
+
[[Category:Scripting Commands OFP 1.96|RAD]]
 
[[Category:Scripting Commands OFP 1.46|RAD]]
 
[[Category:Scripting Commands OFP 1.46|RAD]]
 
[[Category:Scripting Commands ArmA|RAD]]
 
[[Category:Scripting Commands ArmA|RAD]]

Revision as of 21:59, 1 June 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