rad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. ArmA2 classification)
Line 39: Line 39:
[[Category:Scripting Commands ArmA|RAD]]
[[Category:Scripting Commands ArmA|RAD]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 18:10, 3 June 2009

Hover & click on the images for description

Description

Description:
Convert x from Degrees to Radians. 360 degrees is equal to 2 multiplied with pi.
Groups:
Uncategorised

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

See also:
Math Commands

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section