rad: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (example formatting) |
||
Line 18: | Line 18: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_radians <nowiki>=</nowiki> '''rad''' 180 | |x1= <code>_radians <nowiki>=</nowiki> '''rad''' 180;//Returns 3.1415... => [[pi]]</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 15:59, 20 December 2018
Description
- Description:
- Convert x from Degrees to Radians. 360 degrees is equal to 2 multiplied with pi.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_radians = rad 180;//Returns 3.1415... => 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
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