deg: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) (format) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Converts given value in radians to degrees. 1 degree equals 0.01745 radians or [[pi]] / 180. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''deg''' value|= Syntax | ||
|p1= | |p1= value: [[Number]] - radians|= Parameter 1 | ||
| [[Number]] | | [[Number]] - degrees |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_degrees = [[deg]] 1; // returns 57.2958</code>|= Example 1 | ||
returns 57. | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 23:23, 20 December 2018
Description
- Description:
- Converts given value in radians to degrees. 1 degree equals 0.01745 radians or pi / 180.
- Groups:
- Uncategorised
Syntax
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Math
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters