pi: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 28: Line 28:
|s1= '''pi'''
|s1= '''pi'''


|r1=[[Number]]
|r1= [[Number]]


|x1= <code>_radians = 2 * [[pi]]; {{cc|Result is 6.2830}}</code>
|x1= <code>_radians = 2 * [[pi]]; {{cc|Result is 6.2830}}</code>

Revision as of 23:47, 7 August 2021

Hover & click on the images for description

Description

Description:
pi (180 degrees converted to Radians).
Groups:
Math - Geometry

Syntax

Syntax:
pi
Return Value:
Number

Examples

Example 1:
_radians = 2 * pi; // Result is 6.2830

Additional Information

See also:
tan cos sin

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