Difference between revisions of "rad"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "|= Comments" to "|Comments=")
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 03:07, 1 September 2019

Introduced with Operation Flashpoint version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Converts given value in degrees to radians. 1 radian equals 180 degrees divided by pi.

Syntax

Syntax:
rad value
Parameters:
value: Number - degrees
Return Value:
Number - radians

Examples

Example 1:
_radians = rad 180; // Returns 3.1415... => pi

Additional Information

See also:
Math Commandsdeg

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section