deg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
Line 37: Line 37:
[[Category:Scripting Commands OFP 1.96|DEG]]
[[Category:Scripting Commands OFP 1.96|DEG]]
[[Category:Scripting Commands OFP 1.46|DEG]]
[[Category:Scripting Commands OFP 1.46|DEG]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 20:23, 3 June 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:
Uncategorised

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