deg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
mNo edit summary
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|gr1= Math |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:51, 20 September 2020

Hover & click on the images for description

Description

Description:
Converts given value in radians to degrees. 1 degree equals 0.01745 radians or pi / 180.
Groups:
Math

Syntax

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

Examples

Example 1:
_degrees = deg 1; // returns 57.2958

Additional Information

See also:
Math Commandsrad

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