Difference between revisions of "Math.deg"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
returns angle in degrees of radians rad
+
<translate>returns angle in degrees of radians rad</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = math.deg(rad)
 
(number) = math.deg(rad)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''rad''': (number) radian value to convert to degree <br/>
+
'''rad''': (number) <translate>radian value to convert to degree</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) result in degree<br/>
+
'''Returns''' (number) <translate>result in degree</translate><br/>

Revision as of 13:33, 23 August 2018

Available since: Gideros 2011.6

Description

returns angle in degrees of radians rad

(number) = math.deg(rad)

Parameters

rad: (number) radian value to convert to degree

Return values

Returns (number) result in degree