rad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 35: Line 35:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|RAD]]
[[Category:Scripting Commands|RAD]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|RAD]]
[[Category:Scripting Commands OFP 1.96|RAD]]
[[Category:Scripting Commands OFP 1.46|RAD]]
[[Category:Scripting Commands OFP 1.46|RAD]]

Revision as of 11:59, 25 September 2014

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