rad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - ";{{cc|" to "; {{cc|")
Line 15: Line 15:
| [[Number]] - radians
| [[Number]] - radians
   
   
|x1= <code>_radians = [[rad]] 180;{{cc|Returns 3.1415 ([[pi]])}}</code>
|x1= <code>_radians = [[rad]] 180; {{cc|Returns 3.1415 ([[pi]])}}</code>


| [[pi]], [[deg]]
| [[pi]], [[deg]]

Revision as of 14:49, 16 February 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:
See also needed

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