rad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Convert x from degrees to radians. 360 degrees is equal to 2 multiplied with pi. |= Description
| Convert x from [[Number#Degrees|Degrees]] to [[Number#Radians|Radians]]. 360 degrees is equal to 2 multiplied with pi. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| Radians <nowiki>=</nowiki> '''rad''' Degrees |= Syntax
| [[Number#Radians|Radians]] <nowiki>=</nowiki> '''rad''' [[Number#Degrees|Degrees]]|= Syntax
|p1= Radians: [[Number]]
|p2= Degrees: [[Number]]


|p1= [[Number#Degrees|Degrees]]: [[Number]]


| [[Number]] |= Return value
 
| [[Number#Radians|Radians]]::[[Number]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_radians <nowiki>=</nowiki> '''rad''' 180</code>   
|x1= <code>_radians <nowiki>=</nowiki> '''rad''' 180</code>   
Result is 3.1415|= Example 1
Result is 3.1415 (eg [[pi]]|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:16, 4 September 2007

Hover & click on the images for description

Description

Description:
Convert x from Degrees to Radians. 360 degrees is equal to 2 multiplied with pi.
Groups:
Uncategorised

Syntax

Syntax:
Radians = rad Degrees
Parameters:
Degrees: Number
Return Value:
Radians::Number

Examples

Example 1:
_radians = rad 180 Result is 3.1415 (eg 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

Notes

Bottom Section