Difference between revisions of "Math.rad"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[math]]<br/>
 +
 
=== Description ===
 
=== Description ===
returns angle in radians of degrees deg
+
Returns the angle in radians of degrees deg.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = math.rad(deg)
 
(number) = math.rad(deg)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''deg''': (number) angle in degrees <br/>
+
'''deg''': (number) angle in degrees
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) angle in radians<br/>
+
'''Returns''' (number) angle in radians
 +
 
 +
=== See also ===
 +
'''[[Trigonometry Conversion Operators]]'''
 +
 
 +
{{Math}}

Latest revision as of 14:30, 13 July 2023