rad: Difference between revisions
Jump to navigation
Jump to search
m (example formatting) |
Killzone Kid (talk | contribs) (format) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Converts given value in degrees to radians. 1 radian equals 180 degrees divided by [[pi]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''rad''' value |= Syntax | ||
|p1= | |p1= value: [[Number]] - degrees | ||
| [[Number]] - radians |= Return value | |||
| [[Number]] |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_radians | |x1= <code>_radians = [[rad]] 180; // Returns 3.1415... => [[pi]]</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Math Commands]] |= See also | | [[Math Commands]], [[deg]] |= See also | ||
}} | }} |
Revision as of 23:17, 20 December 2018
Description
- Description:
- Converts given value in degrees to radians. 1 radian equals 180 degrees divided by pi.
- Groups:
- Uncategorised
Syntax
Examples
Additional Information
- See also:
- Math Commandsdeg
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