rad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z]+))?\]\] " to "")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = Math - Geometry
|gr1= Math - Geometry


| Converts given value in degrees to radians. 1 radian equals 180 degrees divided by [[pi]].
| Converts given value in degrees to radians. 1 radian equals 180 degrees divided by [[pi]].

Revision as of 13:47, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Math - Geometry

Syntax

Syntax:
Syntax needed
Parameters:
value: Number - degrees
Return Value:
Return value needed

Examples

Example 1:
_radians = rad 180; // Returns 3.1415 (pi)

Additional Information

See also:
pideg

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