Difference between revisions of "Math.deg"

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 degrees of radians rad
+
Returns the angle in degrees of radians rad.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = math.deg(rad)
 
(number) = math.deg(rad)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''rad''': (number) radian value to convert to degree <br/>
+
'''rad''': (number) radian value to convert to degree
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) result in degree<br/>
+
'''Returns''' (number) result in degree
 +
 
 +
=== See also ===
 +
'''[[Trigonometry Conversion Operators]]'''
 +
 
 +
{{Math}}

Latest revision as of 14:30, 13 July 2023